Painting in a PictureBox

jasaher

New member
Joined
Oct 25, 2003
Messages
3
Hi everybode!!!

Im trying to paint lines into a PictureBox. I have the next problem. When I minimize the application and maximize it again the lines that were painted into de PictureBox have been deleted. I think the repaint event of the control has ignored my lines. How can I keep the lines into the control even when the control is repainted????

Thank you in advance!!!
:)
 
If you didnt draw the lines in the paint event, they will be earased. If you want to redraw them if they disappear then simply paint in the Paint event.
 
Back
Top