Facts have proved that double buffering is still very effective, especially for those who need a form of hidden rows

this.DoubleBuffered = true; // Set the present form
the SetStyle (ControlStyles.UserPaint, to true);
the SetStyle (ControlStyles.AllPaintingInWmPaint, to true); // erase the background prohibited.
the SetStyle (ControlStyles.DoubleBuffer, to true); // double buffering

Guess you like

Origin www.cnblogs.com/swtool/p/11966237.html