private void InitializeComponent()
        {
            this.components = new Container();

            this.timer1 = new Timer(this.components);

            this.dtsStatisticsGrid1      = new DtsStatisticsGrid(this.components);
            this.dtsStatisticsTrendGrid1 = new DtsStatisticsTrendGrid(this.components);
            this.ganttGrid = new DtsGanttGrid(this.components);
            this.iDtsGanttGridRowDataBindingSource = new BindingSource(this.components);
            this.dtsPipelineBreakdownGrid          = new DtsStatisticsTrendGrid(this.components);

            this.dtsStatisticsGrid1.ParentPerformanceTab      = this;
            this.dtsStatisticsTrendGrid1.ParentPerformanceTab = this;
            this.ganttGrid.ParentPerformanceTab = this;
            this.dtsPipelineBreakdownGrid.ParentPerformanceTab = this;

            ((System.ComponentModel.ISupportInitialize)(this.dtsStatisticsTrendGrid1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ganttGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iDtsGanttGridRowDataBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtsStatisticsGrid1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtsPipelineBreakdownGrid)).BeginInit();
            this.tableLayoutPanel1 = new TableLayoutPanel();
            this.lblStatus         = new Label();


            this.SuspendLayout();

            //
            // tableLayoutPanel1
            //
            this.tableLayoutPanel1.SuspendLayout();
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Location = new System.Drawing.Point(13, 13);
            this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 2;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            this.tableLayoutPanel1.Size     = new System.Drawing.Size(451, 297);
            this.tableLayoutPanel1.TabIndex = 0;
            this.tableLayoutPanel1.Dock     = DockStyle.Fill;
            this.tableLayoutPanel1.Controls.Add(this.ganttGrid, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.dtsStatisticsGrid1, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.dtsStatisticsTrendGrid1, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.dtsPipelineBreakdownGrid, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.lblStatus, 0, 1);
            this.tableLayoutPanel1.ResumeLayout(false);

            //
            // lblStatus
            //
            this.lblStatus.Name = "lblStatus";
            this.lblStatus.Size = new Size(400, 14);
            this.lblStatus.Dock = DockStyle.Fill;

            //
            // ganttGrid
            //
            this.ganttGrid.BackgroundColor = System.Drawing.Color.White;
            this.ganttGrid.DataSource      = this.iDtsGanttGridRowDataBindingSource;
            //this.ganttGrid.Location = new System.Drawing.Point(13, 49);
            this.ganttGrid.Dock = DockStyle.Fill;
            this.ganttGrid.Name = "ganttGrid";
            this.ganttGrid.Size = new System.Drawing.Size(1216, 800);

            //
            // dtsStatisticsGrid1
            //
            this.dtsStatisticsGrid1.BackgroundColor = System.Drawing.Color.White;
            this.dtsStatisticsGrid1.Dock            = DockStyle.Fill;
            this.dtsStatisticsGrid1.Visible         = false;
            this.dtsStatisticsGrid1.Name            = "dtsStatisticsGrid1";
            this.dtsStatisticsGrid1.DataSource      = this.iDtsGanttGridRowDataBindingSource;

            //
            // dtsStatisticsTrendGrid1
            //
            this.dtsStatisticsTrendGrid1.BackgroundColor = System.Drawing.Color.White;
            this.dtsStatisticsTrendGrid1.Dock            = DockStyle.Fill;
            this.dtsStatisticsTrendGrid1.Visible         = false;
            this.dtsStatisticsTrendGrid1.Name            = "dtsStatisticsGrid1";
            this.dtsStatisticsTrendGrid1.DataSource      = this.iDtsGanttGridRowDataBindingSource;

            //
            // dtsBreakdownGrid
            //
            this.dtsPipelineBreakdownGrid.BackgroundColor = System.Drawing.Color.White;
            this.dtsPipelineBreakdownGrid.Dock            = DockStyle.Fill;
            this.dtsPipelineBreakdownGrid.Visible         = false;
            this.dtsPipelineBreakdownGrid.Name            = "dtsBreakdownGrid";

            //
            // iDtsGanttGridRowDataBindingSource
            //
            this.iDtsGanttGridRowDataBindingSource.DataSource = typeof(IDtsGridRowData);

            //
            // timer1
            //
            this.timer1.Interval = 1000; //1 second
            this.timer1.Tick    += new EventHandler(this.timer1_Tick);


            base.Name = "PerformanceTab";
            base.Size = new Size(0x248, 0x210);
            this.Controls.Add(this.tableLayoutPanel1);

            ((System.ComponentModel.ISupportInitialize)(this.dtsStatisticsTrendGrid1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ganttGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iDtsGanttGridRowDataBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtsStatisticsGrid1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtsPipelineBreakdownGrid)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Esempio n. 2
0
        private void InitializeComponent()
        {
            this.components = new Container();

            this.timer1 = new Timer(this.components);

            this.dtsStatisticsGrid1 = new DtsStatisticsGrid(this.components);
            this.dtsStatisticsTrendGrid1 = new DtsStatisticsTrendGrid(this.components);
            this.ganttGrid = new DtsGanttGrid(this.components);
            this.iDtsGanttGridRowDataBindingSource = new BindingSource(this.components);
            this.dtsPipelineBreakdownGrid = new DtsStatisticsTrendGrid(this.components);

            this.dtsStatisticsGrid1.ParentPerformanceTab = this;
            this.dtsStatisticsTrendGrid1.ParentPerformanceTab = this;
            this.ganttGrid.ParentPerformanceTab = this;
            this.dtsPipelineBreakdownGrid.ParentPerformanceTab = this;

            ((System.ComponentModel.ISupportInitialize)(this.dtsStatisticsTrendGrid1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ganttGrid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.iDtsGanttGridRowDataBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtsStatisticsGrid1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtsPipelineBreakdownGrid)).BeginInit();
            this.tableLayoutPanel1 = new TableLayoutPanel();
            this.lblStatus = new Label();


            this.SuspendLayout();

            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.SuspendLayout();
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Location = new System.Drawing.Point(13, 13);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 2;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(451, 297);
            this.tableLayoutPanel1.TabIndex = 0;
            this.tableLayoutPanel1.Dock = DockStyle.Fill;
            this.tableLayoutPanel1.Controls.Add(this.ganttGrid, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.dtsStatisticsGrid1, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.dtsStatisticsTrendGrid1, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.dtsPipelineBreakdownGrid, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.lblStatus, 0, 1);
            this.tableLayoutPanel1.ResumeLayout(false);

            // 
            // lblStatus
            // 
            this.lblStatus.Name = "lblStatus";
            this.lblStatus.Size = new Size(400, 14);
            this.lblStatus.Dock = DockStyle.Fill;

            // 
            // ganttGrid
            // 
            this.ganttGrid.BackgroundColor = System.Drawing.Color.White;
            this.ganttGrid.DataSource = this.iDtsGanttGridRowDataBindingSource;
            //this.ganttGrid.Location = new System.Drawing.Point(13, 49);
            this.ganttGrid.Dock = DockStyle.Fill;
            this.ganttGrid.Name = "ganttGrid";
            this.ganttGrid.Size = new System.Drawing.Size(1216, 800);

            // 
            // dtsStatisticsGrid1
            // 
            this.dtsStatisticsGrid1.BackgroundColor = System.Drawing.Color.White;
            this.dtsStatisticsGrid1.Dock = DockStyle.Fill;
            this.dtsStatisticsGrid1.Visible = false;
            this.dtsStatisticsGrid1.Name = "dtsStatisticsGrid1";
            this.dtsStatisticsGrid1.DataSource = this.iDtsGanttGridRowDataBindingSource;

            // 
            // dtsStatisticsTrendGrid1
            // 
            this.dtsStatisticsTrendGrid1.BackgroundColor = System.Drawing.Color.White;
            this.dtsStatisticsTrendGrid1.Dock = DockStyle.Fill;
            this.dtsStatisticsTrendGrid1.Visible = false;
            this.dtsStatisticsTrendGrid1.Name = "dtsStatisticsGrid1";
            this.dtsStatisticsTrendGrid1.DataSource = this.iDtsGanttGridRowDataBindingSource;

            // 
            // dtsBreakdownGrid
            // 
            this.dtsPipelineBreakdownGrid.BackgroundColor = System.Drawing.Color.White;
            this.dtsPipelineBreakdownGrid.Dock = DockStyle.Fill;
            this.dtsPipelineBreakdownGrid.Visible = false;
            this.dtsPipelineBreakdownGrid.Name = "dtsBreakdownGrid";

            // 
            // iDtsGanttGridRowDataBindingSource
            // 
            this.iDtsGanttGridRowDataBindingSource.DataSource = typeof(IDtsGridRowData);

            //
            // timer1
            //
            this.timer1.Interval = 1000; //1 second
            this.timer1.Tick += new EventHandler(this.timer1_Tick);


            base.Name = "PerformanceTab";
            base.Size = new Size(0x248, 0x210);
            this.Controls.Add(this.tableLayoutPanel1);

            ((System.ComponentModel.ISupportInitialize)(this.dtsStatisticsTrendGrid1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ganttGrid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.iDtsGanttGridRowDataBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtsStatisticsGrid1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dtsPipelineBreakdownGrid)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }