Esempio n. 1
0
 internal RowSorterHelper GetRowSorterHelper()
 {
     if (CompareFromSubClass == 1)
     {
         SortedListViewFormatType format = this.GetSortedFormatType(this.LastSortedColumn);
         return(new RowSorterHelper(this.LastSortedColumn, format));
     }
     for (int i = 0; i < rowSorterList.Count; i++)
     {
         RowSorterHelper rs = (RowSorterHelper)rowSorterList[i];
         if (rs != null && rs.ColumnIndex == LastSortedColumn)
         {
             return(rs);
         }
     }
     return(null);
 }
Esempio n. 2
0
 public RowSorterHelper(int columnIndex, SortedListViewFormatType format, ListSortEvent sortEvent)
 {
     this.columnIndex = columnIndex;
     this.format      = format;
     this.sortEvent   = sortEvent;
 }
Esempio n. 3
0
 public RowSorterHelper(int columnIndex, SortedListViewFormatType format)
 {
     this.columnIndex = columnIndex;
     this.format      = format;
 }
Esempio n. 4
0
 public void SetColumnSortFormat(int columnIndex, SortedListViewFormatType format, ListSortEvent callBack)
 {
     rowSorterList.Add(new RowSorterHelper(columnIndex, format, callBack));
 }
Esempio n. 5
0
 public void SetColumnSortFormat(int columnIndex, SortedListViewFormatType format)
 {
     rowSorterList.Add(new RowSorterHelper(columnIndex, format));
 }
Esempio n. 6
0
		public RowSorterHelper(int columnIndex, SortedListViewFormatType format, ListSortEvent sortEvent)
		{
			this.columnIndex = columnIndex;
			this.format = format;
			this.sortEvent = sortEvent;
		}
Esempio n. 7
0
		public RowSorterHelper(int columnIndex, SortedListViewFormatType format)
		{
			this.columnIndex = columnIndex;
			this.format = format;
		}
Esempio n. 8
0
		public void SetColumnSortFormat(int columnIndex, SortedListViewFormatType format, ListSortEvent callBack)
		{
			rowSorterList.Add(new RowSorterHelper(columnIndex, format, callBack));
		}
Esempio n. 9
0
		public void SetColumnSortFormat(int columnIndex, SortedListViewFormatType format)
		{
			rowSorterList.Add(new RowSorterHelper(columnIndex, format));
		}