Esempio n. 1
0
 /// <summary>
 /// Class constructor.  Initializes various elements
 /// </summary>
 public ListViewColumnSorter()
 {
     // Initialize the column to '0'
     ColumnToSort = 0;
     // Initialize the sort order to 'none'
     //OrderOfSort = SortOrder.None;
     OrderOfSort = SortOrder.Ascending;
     // Initialize my implementationof CaseInsensitiveComparer object
     ObjectCompare      = new NumberCaseInsensitiveComparer();
     FirstObjectCompare = new ImageTextComparer();
 }          /// <summary>
Esempio n. 2
0
 /// <summary>
 /// Class constructor.  Initializes various elements
 /// </summary>
 public ListViewColumnSorter()
 {
     // Initialize the column to '0'
     ColumnToSort = 0;
     // Initialize the sort order to 'none'
     //OrderOfSort = SortOrder.None;
     OrderOfSort = SortOrder.Ascending;
     // Initialize my implementationof CaseInsensitiveComparer object
     ObjectCompare = new NumberCaseInsensitiveComparer();
     FirstObjectCompare = new ImageTextComparer();
 }