Advertisement
fel486

Evitando Flickering no C#

Apr 22nd, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1. // Evitando refresh rápido no C# (Flickering):
  2.  
  3.     public Form1() // Construtor
  4.         {
  5.             InitializeComponent();
  6.            
  7.             this.SetStyle(
  8.             ControlStyles.UserPaint |
  9.             ControlStyles.AllPaintingInWmPaint |
  10.             ControlStyles.DoubleBuffer, true);
  11.            
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement