UserControl - OnPaint

rosolek

New member
Joined
Jan 29, 2007
Messages
1
Programming Experience
3-5
Hi,
I have class that inherits UserControl, then i put many controls on my class,
I overwrote the OnPaint method and put nothing inside,

Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
End Sub


I though that after that i should get empty place but it seems that all controls are there, i want to force my control to paint to my Graphics object, when paint is called but it seems that the paint is made somewhere else does anyone knows where?

wbr,
ula


 
Back
Top