Click here to Skip to main content
11,577,429 members (37,215 online)
Click here to Skip to main content

Tagged as

Flicker free Form Painting

, 29 Sep 2010 CPOL 4.1K 2
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
Web04 | 2.8.150603.1 | Last Updated 29 Sep 2010
Article Copyright 2010 by BillW33
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid