Esempio n. 1
0
        /// <summary>
        /// Class constructor.  Initializes various elements
        /// </summary>
        public ListViewColumnSorter()
        {
            // Initialize the column to '0'
            SortColumn   = 0;
            SortModifier = SortModifiers.SortByText;

            // Initialize the CaseInsensitiveComparer object
            objectCompare       = new NumberCaseInsensitiveComparer();
            firstObjectCompare  = new ImageTextComparer();
            firstObjectCompare2 = new CheckboxTextComparer();
        }
Esempio n. 2
0
 public CheckboxTextComparer()
 {
     // Initialize the CaseInsensitiveComparer object
     objectCompare = new NumberCaseInsensitiveComparer();
 }