[Mono-winforms-list] System.Windows.Forms.Form: PaintEventHandler is called only when you increase the form

Alexander Reiter r.alex at utanet.at
Tue Nov 1 15:13:21 EST 2005


hi all,

   I've a problem with the System.Windows.Forms.Form Paint Event. I am calling the paint event with the following
   line: this.Paint += new PaintEventHandler(Draw_Graphics); the Draw_Graphics part is simple drawing some
   curves and lines to the Form.
   My problem is now, that as soon as I start to resize the form the Paint event is only called when I increase the
   form size. When I decrease the size nothing is happening.

   I just started to get deeper into C# and mono + forms, so any hint where I can start to search ?

br
alex


More information about the Mono-winforms-list mailing list