Пример #1
0
        /// <summary>
        /// Class constructor.  Initializes various elements
        /// </summary>
        public ListViewColumnSorter()
        {
            // Initialize the column to '0'
            SortColumn = 0;

            // Initialize the sort order to 'none'
            Order = SortOrder.None;

            // Initialize the NaturalComparer object
            comparer = new NaturalComparer();
        }
Пример #2
0
        /// <summary>
        /// Class constructor.  Initializes various elements
        /// </summary>
        public ChartSorter()
        {
            // Initialize the column to '0'
            SortType = ChartSortType.None;

            // Initialize the sort order to 'none'
            Order = SortOrder.None;

            // Initialize the NaturalComparer object
            comparer = new NaturalComparer();
        }