//============================================================================*
        // cBatchListView() - Constructor
        //============================================================================*

        public cBatchListView(cDataFiles DataFiles)
            : base(DataFiles, cPreferences.eApplicationListView.BatchListView)
        {
            m_DataFiles = DataFiles;

            //----------------------------------------------------------------------------*
            // Set Properties
            //----------------------------------------------------------------------------*

            CheckBoxes = true;

            Font = new System.Drawing.Font(Font, System.Drawing.FontStyle.Bold);

            //----------------------------------------------------------------------------*
            // Event Handlers
            //----------------------------------------------------------------------------*

            //----------------------------------------------------------------------------*
            // Populate Columns and Groups
            //----------------------------------------------------------------------------*

            SortingOrder  = m_DataFiles.Preferences.BatchSortOrder;
            SortingColumn = m_DataFiles.Preferences.BatchSortColumn;

            ListViewItemSorter = new cListViewBatchComparer(SortingColumn, SortingOrder);

            PopulateColumns(m_arColumns);
            PopulateGroups();

            //----------------------------------------------------------------------------*
            // Populate Data
            //----------------------------------------------------------------------------*

            Initialized = true;
        }
        //============================================================================*
        // OnColumnClick()
        //============================================================================*

        protected override void OnColumnClick(ColumnClickEventArgs args)
        {
            if (args.Column == SortingColumn)
            {
                SortingOrder = (SortingOrder == SortOrder.Ascending) ? SortOrder.Descending : SortOrder.Ascending;
            }
            else
            {
                SortingColumn = args.Column;
            }

            ListViewItemSorter = new cListViewBatchComparer(SortingColumn, SortingOrder);

            if (SelectedItems.Count > 0)
            {
                SelectedItems[0].EnsureVisible();
            }

            m_DataFiles.Preferences.BatchSortColumn = args.Column;
            m_DataFiles.Preferences.BatchSortOrder  = SortingOrder;
        }