Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

windows forms change double buffer during runtime

public void EnableDoubleBuffering()
{
   this.SetStyle(ControlStyles.DoubleBuffer | 
      ControlStyles.UserPaint | 
      ControlStyles.AllPaintingInWmPaint,
      true);
   this.UpdateStyles();
}
 
PREVIOUS NEXT
Tagged: #windows #forms #change #double #buffer #runtime
ADD COMMENT
Topic
Name
9+5 =