/// <summary> /// Initialize the listview /// </summary> public ListViewNF() { staticColumns = new HashSet <int>(); lvSortObj = new LVsorter(); ListViewItemSorter = lvSortObj; //Activate double buffering 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 SetStyle(ControlStyles.EnableNotifyMessage, true); }
/// <summary> /// Initialize the listview /// </summary> public ListViewNF() { staticColumns = new HashSet<int>(); lvSortObj = new LVsorter(); ListViewItemSorter = lvSortObj; //Activate double buffering 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 SetStyle(ControlStyles.EnableNotifyMessage, true); }