Solve the flash card problem of winfrom project form

Add skin version, add
// to form loading event to make form not flicker
SetStyle(controlstyles.userpaint, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true);// erase background is prohibited.
SetStyle (ControlStyles. OptimizedDoubleBuffer, true); // double buffering
this.UpdateStyles();

///
///
///
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.createparams;
cp.ExStyle |= 0x02000000;
return cp;
return cp;
return cp;
}
}

Read More: