Donate

Limit Flickering On Winforms In C#

Here's the snippet to limit flicker in forms. Put it above the initialize component method in your constructor.
//limit flicker  
SetStyle(ControlStyles.OptimizedDoubleBuffer   
    | ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint, true);  
 InitializeComponent();  
Cheers! Source: mijalko

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

TypeScript Error Or Bug: The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program.

Invalid nested tag div found, expected closing tag input