예제 #1
0
        /// <summary>
        /// Class constructor.  Initializes various elements
        /// </summary>
        public ListViewColumnSorter()
        {
            // Initialize the column to '0'
            ColumnToSort = 0;

            // Initialize the CaseInsensitiveComparer object
            ObjectCompare       = new NumberCaseInsensitiveComparer();
            FirstObjectCompare  = new ImageTextComparer();
            FirstObjectCompare2 = new CheckboxTextComparer();
        }
예제 #2
0
 public CheckboxTextComparer()
 {
     // Initialize the CaseInsensitiveComparer object
     ObjectCompare = new NumberCaseInsensitiveComparer();
 }