/**************************************************************************/

        public MacroscopeDisplayTitles(MacroscopeMainForm MainForm, ListView TargetListView)
            : base(MainForm, TargetListView)
        {
            this.MainForm        = MainForm;
            this.DisplayListView = TargetListView;

            if (this.MainForm.InvokeRequired)
            {
                this.MainForm.Invoke(
                    new MethodInvoker(
                        delegate
                {
                    this.ConfigureListView();
                }
                        )
                    );
            }
            else
            {
                this.ConfigureListView();
            }
        }
        /**************************************************************************/

        public MacroscopeDisplayHistory(MacroscopeMainForm MainForm, ListView TargetListView)
        {
            this.MainForm        = MainForm;
            this.DisplayListView = TargetListView;
            this.DocumentCount   = this.MainForm.macroscopeOverviewTabPanelInstance.toolStripLabelHistoryItems;

            if (this.MainForm.InvokeRequired)
            {
                this.MainForm.Invoke(
                    new MethodInvoker(
                        delegate
                {
                    this.ConfigureListView();
                }
                        )
                    );
            }
            else
            {
                this.ConfigureListView();
            }
        }
示例#3
0
        /**************************************************************************/

        public MacroscopeDisplayDataExtractorCssSelectors(MacroscopeMainForm MainForm, ListView TargetListView)
            : base(MainForm, TargetListView)
        {
            this.MainForm        = MainForm;
            this.DisplayListView = TargetListView;
            this.ItemCount       = this.MainForm.macroscopeOverviewTabPanelInstance.toolStripLabelCssSelectors;

            if (this.MainForm.InvokeRequired)
            {
                this.MainForm.Invoke(
                    new MethodInvoker(
                        delegate
                {
                    this.ConfigureListView();
                }
                        )
                    );
            }
            else
            {
                this.ConfigureListView();
            }
        }
示例#4
0
        /**************************************************************************/

        public MacroscopeDisplayUriQueue(MacroscopeMainForm MainForm, ListView TargetListView)
        {
            this.MainForm            = MainForm;
            this.DisplayListView     = TargetListView;
            this.DisplayListViewLock = new object();
            this.UriQueueCount       = this.MainForm.macroscopeOverviewTabPanelInstance.toolStripLabelUriQueueItems;

            if (this.MainForm.InvokeRequired)
            {
                this.MainForm.Invoke(
                    new MethodInvoker(
                        delegate
                {
                    this.ConfigureListView();
                }
                        )
                    );
            }
            else
            {
                this.ConfigureListView();
            }
        }
        /**************************************************************************/

        protected MacroscopeDisplayTreeView(MacroscopeMainForm MainForm, TreeView tvTreeView)
        {
            this.MainForm   = MainForm;
            this.tvTreeView = tvTreeView;
        }