摘要:
publicclassCustomListView:System.Windows.Forms.ListView{publicCustomListView() { SetStyle(ControlStyles.DoubleBuffer|ControlStyles.AllPaintingInWmPaint |ControlStyles.UserPaint,true); UpdateStyles();}}双缓冲技术实现绘制图形不闪烁protected void SetStyle ( ControlStyles flag, bool value)如果将 AllPaintingInWmPaint 位设置 阅读全文