1. 程式人生 > >有效解決winform介面閃爍程式碼

有效解決winform介面閃爍程式碼

this.SetStyle(System.Windows.Forms.ControlStyles.OptimizedDoubleBuffer | System.Windows.Forms.ControlStyles.AllPaintingInWmPaint, true);
this.UpdateStyles();