Exemple #1
0
        public BasicWizard()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.SuspendLayout();
            this.logFilterTreeView          = new LogFilterTreeView();
            this.logFilterTreeView.Location = new System.Drawing.Point(8, 26);
            this.logFilterTreeView.Size     = new System.Drawing.Size(332, 218);
            this.stepThreePanel.Controls.AddRange(new System.Windows.Forms.Control[] { this.logFilterTreeView });
            this.ResumeLayout(false);

            currentStepNumber    = 1;
            stepOnePanel.Left    = StepPanelLocationX;
            stepOnePanel.Top     = StepPanelLocationY;
            stepOnePanel.Width   = StepPanelWidth;
            stepOnePanel.Height  = StepPanelHeight;
            stepOnePanel.Visible = true;

            pidSorter     = new ProcessListItemSorter(0);
            processSorter = new ProcessListItemSorter(1);

            this.lv_ProcessListBox.ListViewItemSorter = pidSorter;
        }
Exemple #2
0
        public Wizard()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.SuspendLayout();
            this.logFilterTreeView          = new LogFilterTreeView();
            this.logFilterTreeView.Location = new System.Drawing.Point(16, 370);
            this.logFilterTreeView.Size     = new System.Drawing.Size(456, 263);
            this.Controls.AddRange(new System.Windows.Forms.Control[] { this.logFilterTreeView });
            this.ResumeLayout(false);

            switchModes = false;

            pidSorter     = new ProcessListItemSorter(0);
            processSorter = new ProcessListItemSorter(1);

            this.lv_ProcessListBox.ListViewItemSorter = pidSorter;
        }
Exemple #3
0
        public Wizard()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.SuspendLayout();
            this.logFilterTreeView = new LogFilterTreeView();
            this.logFilterTreeView.Location = new System.Drawing.Point(16, 370);
            this.logFilterTreeView.Size = new System.Drawing.Size(456, 263);
            this.Controls.AddRange(new System.Windows.Forms.Control[] { this.logFilterTreeView });
            this.ResumeLayout(false);

            switchModes = false;

            pidSorter = new ProcessListItemSorter(0);
            processSorter = new ProcessListItemSorter(1);

            this.lv_ProcessListBox.ListViewItemSorter = pidSorter;
        }
Exemple #4
0
        private void lv_ProcessListBox_ColumnClick(object sender, System.Windows.Forms.ColumnClickEventArgs e)
        {
            ProcessListItemSorter sorter = null;

            switch (e.Column)
            {
            case 0:
                this.lv_ProcessListBox.ListViewItemSorter = pidSorter;
                break;

            case 1:
                this.lv_ProcessListBox.ListViewItemSorter = processSorter;
                break;

            default:
                break;
            }

            switch (this.lv_ProcessListBox.Sorting)
            {
            case SortOrder.Ascending:
                this.lv_ProcessListBox.Sorting = SortOrder.Descending;
                sorter           = (ProcessListItemSorter)this.lv_ProcessListBox.ListViewItemSorter;
                sorter.Ascending = false;
                break;

            case SortOrder.Descending:
                this.lv_ProcessListBox.Sorting = SortOrder.Ascending;
                sorter           = (ProcessListItemSorter)this.lv_ProcessListBox.ListViewItemSorter;
                sorter.Ascending = true;
                break;

            default:
                this.lv_ProcessListBox.Sorting = SortOrder.Ascending;
                break;
            }
            this.lv_ProcessListBox.Sort();
        }
Exemple #5
0
        public BasicWizard()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.SuspendLayout();
            this.logFilterTreeView = new LogFilterTreeView();
            this.logFilterTreeView.Location = new System.Drawing.Point(8, 26);
            this.logFilterTreeView.Size = new System.Drawing.Size(332, 218);
            this.stepThreePanel.Controls.AddRange(new System.Windows.Forms.Control[] { this.logFilterTreeView });
            this.ResumeLayout(false);

            currentStepNumber = 1;
            stepOnePanel.Left = StepPanelLocationX;
            stepOnePanel.Top = StepPanelLocationY;
            stepOnePanel.Width = StepPanelWidth;
            stepOnePanel.Height = StepPanelHeight;
            stepOnePanel.Visible = true;

            pidSorter = new ProcessListItemSorter(0);
            processSorter = new ProcessListItemSorter(1);

            this.lv_ProcessListBox.ListViewItemSorter = pidSorter;
        }