C#解決界面閃爍

添加緩衝:spa

private void SetDoubleBuffer()
{
base.SetStyle(
ControlStyles.OptimizedDoubleBuffer
| ControlStyles.ResizeRedraw
| ControlStyles.Selectable
| ControlStyles.AllPaintingInWmPaint
| ControlStyles.UserPaint
| ControlStyles.SupportsTransparentBackColor,
true);
}table

相關文章
相關標籤/搜索