private bool SetupSort(int col) { if (col == columnName.Index) { ListViewItemSorter = new StringColumnSorter(col, SortOrder.Ascending); return(true); } else if (col == columnMulticast.Index) { ListViewItemSorter = new IPAddressColumnSorter(col, SortOrder.Ascending); return(true); } return(false); }
private bool SetupSort(int col) { if (col == columnName.Index) { ListViewItemSorter = new StringColumnSorter(col, SortOrder.Ascending); return true; } else if (col == columnMulticast.Index) { ListViewItemSorter = new IPAddressColumnSorter(col, SortOrder.Ascending); return true; } return false; }