コード例 #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 the CaseInsensitiveComparer object
            ObjectCompare      = new NumberCaseInsensitiveComparer();//CaseInsensitiveComparer();
            FirstObjectCompare = new ImageTextComparer();
        }
コード例 #2
0
ファイル: Controls.cs プロジェクト: Chemiculs/Auxilium
 public ImageTextComparer()
 {
     // Initialize the CaseInsensitiveComparer object
     ObjectCompare = new NumberCaseInsensitiveComparer();//CaseInsensitiveComparer();
 }
コード例 #3
0
ファイル: Controls.cs プロジェクト: Chemiculs/Auxilium
        /// <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 the CaseInsensitiveComparer object
            ObjectCompare = new NumberCaseInsensitiveComparer();//CaseInsensitiveComparer();
            FirstObjectCompare = new ImageTextComparer();
        }
コード例 #4
0
 public ImageTextComparer()
 {
     // Initialize the CaseInsensitiveComparer object
     ObjectCompare = new NumberCaseInsensitiveComparer();//CaseInsensitiveComparer();
 }