Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Paste this code within the class for the form to prevent
- // controls from flickering while form is resizing
- protected override CreateParams CreateParams
- {
- get
- {
- CreateParams cp = base.CreateParams;
- cp.ExStyle |= 0x02000000; // Turn on WS_EX_COMPOSITED
- return cp;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement