Пример #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();
 }