要防止Listview不闪烁
public ListViewNF()
{
// Activate double buffering
this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
// Enable the OnNotifyMessage event so we get a chance to filter out
// Windows messages before they get to the form's WndProc
this.SetStyle(ControlStyles.EnableNotifyMessage, true);
}
前三位后四位归属地程序 ListView闪烁的问题解决办法:
前三位后四位归属地程序每次在加载的时候不停的闪烁,加上这句代码后就好啦
所以能快速查找到中间四位么当然可以
这样ListView视图 在加载的过程中就不会因为刷新的时候频繁闪烁了