C#解决界面闪烁

添加缓冲:

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

原文地址:https://www.cnblogs.com/LCLBook/p/11188944.html