Hi All,
A real noob question here that hopefully has a simple answer!
Why, when drawing graphics, do most online guides recommend using Protected Overrides Sub OnPaint (ByVal e As PaintEventArgs) rather then the standard paint call an object? :uncomfortableness:
I'm drawing graphics (bitmaps, lines, squares, etc) but whether I put the code in Form1_Paint or in the above doesn't seem to matter.
So why should I use Protected Overrides Sub OnPaint (ByVal e As PaintEventArgs)?
Cheers,
M.
eaceful:
A real noob question here that hopefully has a simple answer!
Why, when drawing graphics, do most online guides recommend using Protected Overrides Sub OnPaint (ByVal e As PaintEventArgs) rather then the standard paint call an object? :uncomfortableness:
I'm drawing graphics (bitmaps, lines, squares, etc) but whether I put the code in Form1_Paint or in the above doesn't seem to matter.
So why should I use Protected Overrides Sub OnPaint (ByVal e As PaintEventArgs)?
Cheers,
M.
