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

Robert C. Havens monolist at silvertalon.net
Wed Nov 2 10:18:04 EST 2005


>... or you can subscribe to the SizeChanged event and do drawing there.
>  
>

ACK!  Don't do that.  Invalidate() from the SizeChanged event, and then 
paint in the Paint event.  But DO NOT paint from anywhere else.

- Robert


More information about the Mono-winforms-list mailing list