Click here to Skip to main content
12,241,499 members (54,407 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

4.7K views
2 bookmarked
Posted

Flicker free Form Painting

, 29 Sep 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
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[^].
Instead I would use double buffering. Just use the line

this.SetStyle(ControlStyles.AllPaintingInWmPaint |ControlStyles.UserPaint | ControlStyles.DoubleBuffer, true);

There is a nice article on double buffering Win Forms here[^].

License

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

Share

About the Author

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

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160426.1 | Last Updated 29 Sep 2010
Article Copyright 2010 by BillW33
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid