Graphics flicker

  • Thread starter Thread starter Wade G
  • Start date Start date
W

Wade G

Is there a way to create a new Graphics object, write to
it, then copy the object to a controls Graphics object?
For example, I have a panel object that I want to draw
lines to using Invalidate() and the Paint handler. How
do I write my lines to a new object then copy this object
to the controls object so no flicker occurs?
 
Hi,

Do not invalidate the whole panel. Only invalidate the region you
want redrawn.

Ken
------------------
 
Google for 'double-buffering' in
microsoft.public.dotnet.framework.windowsforms.

Tom Dacon
Dacon Software Consulting
 
Back
Top