防止控件重绘闪烁

this.SetStyle(ControlStyles.DoubleBuffer, true);//设置双缓冲,防止图像抖动  
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);//   忽略系统消息,防止图像闪烁   
this.SetStyle(ControlStyles.UserMouse, true);//控制鼠标完成事件
posted on 2009-10-13 13:55  永无止境  阅读(293)  评论(0编辑  收藏  举报