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