防止控件重绘闪烁

this.SetStyle(ControlStyles.DoubleBuffer, true);//设置双缓冲,防止图像抖动  
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);//   忽略系统消息,防止图像闪烁   
this.SetStyle(ControlStyles.UserMouse, true);//控制鼠标完成事件
原文地址:https://www.cnblogs.com/yinhaosln/p/1582467.html