+ Reply to Thread
Results 1 to 2 of 2

Thread: avoid winform from flickering

  1. #1
    Junior Member
    Join Date
    Jan 2012

    avoid winform from flickering

    i have a problem my winform items are flickering at starting of application , i don`t know how to fix that . i have background and some buttons and labels .

  2. #2
    you must add the below code after public applicationform class
            public Form1()
            // to avoid flickering while form loading
            protected override CreateParams CreateParams
                    CreateParams cp = base.CreateParams;
                    cp.ExStyle |= 0x02000000;
                    return cp;
            }// end the avoid flicker method
    Last edited by lilian; 01-08-2012 at 04:11 PM.

+ Reply to Thread

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts