[Mono-winforms-list]
	System.Windows.Forms.Form:	PaintEventHandler is called only when you
	increase the form
    Jackson Harper 
    jackson at ximian.com
       
    Wed Nov  2 13:40:18 EST 2005
    
    
  
On Wed, 2005-11-02 at 10:18 -0500, Robert C. Havens wrote:
> >... 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.
Yeah I should have said "paint to a buffer"
Jackson
> - Robert
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
    
    
More information about the Mono-winforms-list
mailing list