K said:
I believe we're talking about different kind of
painting.
I don't think so. "Painting" is just the general Windows term for "drawing
stuff on the screen whenever Windows asks you to". The source of what you're
painting doesn't matter.
I'll be performing computations and the results of these will be
graphically presented to the user. So, it's not so much a photo i'll be
drawing but rather two, three axis and a graph.
Yes, but you could draw that on an Image in a PictureBox exactly as you
would draw it on a Form (they're both just "things to draw on", and they
both use a Graphics to draw). However, like I said, if your image needs to
change every time you resize it (and if you're drawing a chart, that seems
likely) then using an Image in a PictureBox isn't appropriate, because
resizing that all the time is inefficient.
As far i've seen, there are no packages available for charting that are
open source and will do what i wish them to do.
Did you run down the entire list at
http://csharp-source.net/open-source/charting-and-reporting?
So, i'll be writing an own.
That's fine, but then you'll definitely want to create a ChartControl or
something along those lines, so you can draw to your heart's content without
bothering other controls. This control will have its own client area, so you
won't have to bother with computing effective areas anymore.
It's then a matter of dropping that ChartControl on your form and away you
go. It won't matter whether the form has scrollbars, strips, status areas or
whatever.
I agree bu tas i pointed out above, there will be no
other way, as far as my current understanding is.
Please feel welcome to correct me if i'm mistaken.
I think you are. At the very least, you could draw on a control that's fully
dedicated to displaying your content, rather than a Form. Like I said, you
could also abuse a separate empty Panel for this, which is at least
marginally easier.