Click here to Skip to main content
15,893,487 members
Articles / Programming Languages / C#

Flicker free Form Painting

Rate me:
Please Sign up or sign in to vote.
4.50/5 (3 votes)
29 Sep 2010CPOL 7.9K   2  
Instead I would use double buffering. Just use the linethis.SetStyle(ControlStyles.AllPaintingInWmPaint |ControlStyles.UserPaint | ControlStyles.DoubleBuffer, true);There is a nice article on double buffering Win Forms here[^].

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I have been writing software professionally for many years, mostly using C, C++ and C#.

Comments and Discussions