public BrowserListView() { OwnerDraw = true; HandleCreated += new EventHandler(BrowserListView_HandleCreated); selectedOrder = new ArrayList(); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); SetStyle(ControlStyles.AllPaintingInWmPaint, true); DrawItem += new DrawListViewItemEventHandler(BrowserListView_DrawItem); DrawSubItem += new DrawListViewSubItemEventHandler(BrowserListView_DrawSubItem); DrawColumnHeader += new DrawListViewColumnHeaderEventHandler(BrowserListView_DrawColumnHeader); this.Alignment = ListViewAlignment.Left; sorter = new BrowserListSorter(); }