打开双缓冲代码

847阅读 0评论2011-07-22 findmywayout
分类:嵌入式

 SetStyle(                            
          ControlStyles.OptimizedDoubleBuffer                            
          | ControlStyles.ResizeRedraw                            
          | ControlStyles.Selectable                            
          | ControlStyles.AllPaintingInWmPaint                            
          | ControlStyles.UserPaint                            
          | ControlStyles.SupportsTransparentBackColor,                            
          true);
上一篇:ColumnHeaderDefaultCellStyle的BackColor无效果处理
下一篇:DataGridView列头重绘备忘