private void ChartForm_Load(object sender, EventArgs e)
        {
            XMLDocReader doc = new XMLDocReader("resultGA.xml");

            _resultGAByNameProjectGroup = doc.GetProjectGroup;
            _viewer = winChartViewerResult;
            BuildChart(_viewer, titleAxisXYZ, chooseItem);
        }
 private void showAnimation(ChartDirector.WinChartViewer flg)
 {
     //flg.Hide();
     //IPEX_Monitor.ClassLib.WinAPI.AnimateWindow(flg.Handle, 2000, IPEX_Monitor.ClassLib.WinAPI.getSlidType("2"));
     //flg.Show();
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FORM_DEFFECTIVE_STATUS_V2));
     this.panel1     = new System.Windows.Forms.Panel();
     this.cmdMonth   = new DevExpress.XtraEditors.SimpleButton();
     this.cmdYear    = new DevExpress.XtraEditors.SimpleButton();
     this.cmdBack    = new System.Windows.Forms.Button();
     this.lblDate    = new System.Windows.Forms.Label();
     this.label1     = new System.Windows.Forms.Label();
     this.timer2     = new System.Windows.Forms.Timer(this.components);
     this.chart1     = new ChartDirector.WinChartViewer();
     this.chart2     = new ChartDirector.WinChartViewer();
     this.axfpSpread = new AxFPSpreadADO.AxfpSpread();
     this.UC_MONTH   = new OS_DSF.UC.UC_MONTH_SELECTION();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.axfpSpread)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor             = System.Drawing.Color.Turquoise;
     this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.panel1.Controls.Add(this.cmdMonth);
     this.panel1.Controls.Add(this.cmdYear);
     this.panel1.Controls.Add(this.cmdBack);
     this.panel1.Controls.Add(this.lblDate);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location    = new System.Drawing.Point(0, 0);
     this.panel1.MaximumSize = new System.Drawing.Size(1920, 109);
     this.panel1.MinimumSize = new System.Drawing.Size(1920, 109);
     this.panel1.Name        = "panel1";
     this.panel1.Size        = new System.Drawing.Size(1920, 109);
     this.panel1.TabIndex    = 0;
     //
     // cmdMonth
     //
     this.cmdMonth.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.cmdMonth.Appearance.BackColor2           = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.cmdMonth.Appearance.Font                 = new System.Drawing.Font("Calibri", 27.75F, System.Drawing.FontStyle.Bold);
     this.cmdMonth.Appearance.GradientMode         = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.cmdMonth.Appearance.Options.UseBackColor = true;
     this.cmdMonth.Appearance.Options.UseFont      = true;
     this.cmdMonth.ButtonStyle        = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.cmdMonth.Enabled            = false;
     this.cmdMonth.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("cmdMonth.ImageOptions.Image")));
     this.cmdMonth.Location           = new System.Drawing.Point(1512, 5);
     this.cmdMonth.Name     = "cmdMonth";
     this.cmdMonth.Size     = new System.Drawing.Size(175, 48);
     this.cmdMonth.TabIndex = 68;
     this.cmdMonth.Text     = "Day";
     //
     // cmdYear
     //
     this.cmdYear.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.cmdYear.Appearance.BackColor2           = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.cmdYear.Appearance.Font                 = new System.Drawing.Font("Calibri", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmdYear.Appearance.GradientMode         = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.cmdYear.Appearance.Options.UseBackColor = true;
     this.cmdYear.Appearance.Options.UseFont      = true;
     this.cmdYear.ButtonStyle        = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
     this.cmdYear.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("cmdYear.ImageOptions.Image")));
     this.cmdYear.Location           = new System.Drawing.Point(1512, 56);
     this.cmdYear.Name     = "cmdYear";
     this.cmdYear.Size     = new System.Drawing.Size(175, 48);
     this.cmdYear.TabIndex = 69;
     this.cmdYear.Text     = "Month";
     this.cmdYear.Click   += new System.EventHandler(this.cmdYear_Click);
     //
     // cmdBack
     //
     this.cmdBack.BackColor                  = System.Drawing.Color.Turquoise;
     this.cmdBack.BackgroundImage            = ((System.Drawing.Image)(resources.GetObject("cmdBack.BackgroundImage")));
     this.cmdBack.BackgroundImageLayout      = System.Windows.Forms.ImageLayout.Stretch;
     this.cmdBack.FlatAppearance.BorderColor = System.Drawing.Color.Yellow;
     this.cmdBack.FlatAppearance.BorderSize  = 0;
     this.cmdBack.FlatStyle                  = System.Windows.Forms.FlatStyle.Flat;
     this.cmdBack.Location = new System.Drawing.Point(1314, 5);
     this.cmdBack.Name     = "cmdBack";
     this.cmdBack.Size     = new System.Drawing.Size(108, 101);
     this.cmdBack.TabIndex = 67;
     this.cmdBack.UseVisualStyleBackColor = false;
     this.cmdBack.Click += new System.EventHandler(this.cmdBack_Click);
     //
     // lblDate
     //
     this.lblDate.BackColor  = System.Drawing.Color.Turquoise;
     this.lblDate.Dock       = System.Windows.Forms.DockStyle.Right;
     this.lblDate.Font       = new System.Drawing.Font("Calibri", 32.25F, System.Drawing.FontStyle.Bold);
     this.lblDate.ForeColor  = System.Drawing.Color.White;
     this.lblDate.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
     this.lblDate.Location   = new System.Drawing.Point(1676, 0);
     this.lblDate.Name       = "lblDate";
     this.lblDate.Size       = new System.Drawing.Size(244, 109);
     this.lblDate.TabIndex   = 46;
     this.lblDate.Text       = "lblDate";
     this.lblDate.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.lblDate.Click     += new System.EventHandler(this.lblDate_Click);
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Turquoise;
     this.label1.Font      = new System.Drawing.Font("Calibri", 45.25F, System.Drawing.FontStyle.Bold);
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(8, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(1108, 103);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Defective Status by Process && Reason";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // timer2
     //
     this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
     //
     // chart1
     //
     this.chart1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.chart1.Location = new System.Drawing.Point(1221, 116);
     this.chart1.Name     = "chart1";
     this.chart1.Size     = new System.Drawing.Size(683, 448);
     this.chart1.TabIndex = 64;
     this.chart1.TabStop  = false;
     //
     // chart2
     //
     this.chart2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.chart2.Location = new System.Drawing.Point(1221, 575);
     this.chart2.Name     = "chart2";
     this.chart2.Size     = new System.Drawing.Size(683, 451);
     this.chart2.TabIndex = 65;
     this.chart2.TabStop  = false;
     //
     // axfpSpread
     //
     this.axfpSpread.DataSource = null;
     this.axfpSpread.Location   = new System.Drawing.Point(5, 158);
     this.axfpSpread.Name       = "axfpSpread";
     this.axfpSpread.OcxState   = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axfpSpread.OcxState")));
     this.axfpSpread.Size       = new System.Drawing.Size(1207, 884);
     this.axfpSpread.TabIndex   = 63;
     //
     // UC_MONTH
     //
     this.UC_MONTH.AutoSize = true;
     this.UC_MONTH.Location = new System.Drawing.Point(5, 111);
     this.UC_MONTH.Name     = "UC_MONTH";
     this.UC_MONTH.Size     = new System.Drawing.Size(472, 46);
     this.UC_MONTH.TabIndex = 66;
     //
     // FORM_DEFFECTIVE_STATUS_V2
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize    = new System.Drawing.Size(1916, 1054);
     this.Controls.Add(this.UC_MONTH);
     this.Controls.Add(this.chart2);
     this.Controls.Add(this.chart1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.axfpSpread);
     this.Font            = new System.Drawing.Font("Malgun Gothic", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.KeyPreview      = true;
     this.Name            = "FORM_DEFFECTIVE_STATUS_V2";
     this.Text            = "FORM_DEFFECTIVE_STATUS";
     this.Activated      += new System.EventHandler(this.FORM_DEFFECTIVE_STATUS_Activated);
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.FORM_DEFFECTIVE_STATUS_FormClosing);
     this.Load           += new System.EventHandler(this.FORM_DEFFECTIVE_STATUS_Load);
     this.VisibleChanged += new System.EventHandler(this.FORM_DEFFECTIVE_STATUS_VisibleChanged);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chart2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.axfpSpread)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemple #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmZoomScrollDemo));
     this.topLabel        = new System.Windows.Forms.Label();
     this.pointerPB       = new System.Windows.Forms.RadioButton();
     this.zoomInPB        = new System.Windows.Forms.RadioButton();
     this.zoomOutPB       = new System.Windows.Forms.RadioButton();
     this.startDate       = new System.Windows.Forms.DateTimePicker();
     this.duration        = new System.Windows.Forms.ComboBox();
     this.startDateLabel  = new System.Windows.Forms.Label();
     this.durationLabel   = new System.Windows.Forms.Label();
     this.leftPanel       = new System.Windows.Forms.Panel();
     this.separatorLine   = new System.Windows.Forms.Label();
     this.zoomModePanel   = new System.Windows.Forms.Panel();
     this.xZoomPB         = new System.Windows.Forms.RadioButton();
     this.xyZoomPB        = new System.Windows.Forms.RadioButton();
     this.zoomModeLabel   = new System.Windows.Forms.Label();
     this.toolTip         = new System.Windows.Forms.ToolTip(this.components);
     this.hScrollBar1     = new System.Windows.Forms.HScrollBar();
     this.winChartViewer1 = new ChartDirector.WinChartViewer();
     this.vScrollBar1     = new System.Windows.Forms.VScrollBar();
     this.filler          = new System.Windows.Forms.Panel();
     this.leftPanel.SuspendLayout();
     this.zoomModePanel.SuspendLayout();
     this.SuspendLayout();
     //
     // topLabel
     //
     this.topLabel.BackColor = System.Drawing.Color.Navy;
     this.topLabel.Dock      = System.Windows.Forms.DockStyle.Top;
     this.topLabel.Font      = new System.Drawing.Font("Arial", 9.75F, (System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.topLabel.ForeColor = System.Drawing.Color.Yellow;
     this.topLabel.Name      = "topLabel";
     this.topLabel.Size      = new System.Drawing.Size(750, 24);
     this.topLabel.TabIndex  = 17;
     this.topLabel.Text      = "Advanced Software Engineering";
     this.topLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // pointerPB
     //
     this.pointerPB.Appearance = System.Windows.Forms.Appearance.Button;
     this.pointerPB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.pointerPB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("pointerPB.Image")));
     this.pointerPB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.pointerPB.Name       = "pointerPB";
     this.pointerPB.Size       = new System.Drawing.Size(120, 25);
     this.pointerPB.TabIndex   = 0;
     this.pointerPB.Text       = "      Pointer";
     this.toolTip.SetToolTip(this.pointerPB, "Click to display hot spot parameters.\nDrag to scroll.");
     this.pointerPB.CheckedChanged += new System.EventHandler(this.pointerPB_CheckedChanged);
     //
     // zoomInPB
     //
     this.zoomInPB.Appearance = System.Windows.Forms.Appearance.Button;
     this.zoomInPB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.zoomInPB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("zoomInPB.Image")));
     this.zoomInPB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.zoomInPB.Location   = new System.Drawing.Point(0, 24);
     this.zoomInPB.Name       = "zoomInPB";
     this.zoomInPB.Size       = new System.Drawing.Size(120, 25);
     this.zoomInPB.TabIndex   = 1;
     this.zoomInPB.Text       = "      Zoom In";
     this.toolTip.SetToolTip(this.zoomInPB, "Click to zoom in.\nDrag to select zoom region.");
     this.zoomInPB.CheckedChanged += new System.EventHandler(this.zoomInPB_CheckedChanged);
     //
     // zoomOutPB
     //
     this.zoomOutPB.Appearance = System.Windows.Forms.Appearance.Button;
     this.zoomOutPB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.zoomOutPB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("zoomOutPB.Image")));
     this.zoomOutPB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.zoomOutPB.Location   = new System.Drawing.Point(0, 48);
     this.zoomOutPB.Name       = "zoomOutPB";
     this.zoomOutPB.Size       = new System.Drawing.Size(120, 24);
     this.zoomOutPB.TabIndex   = 2;
     this.zoomOutPB.Text       = "      Zoom Out";
     this.toolTip.SetToolTip(this.zoomOutPB, "Click to zoom out.");
     this.zoomOutPB.CheckedChanged += new System.EventHandler(this.zoomOutPB_CheckedChanged);
     //
     // startDate
     //
     this.startDate.CustomFormat = "";
     this.startDate.Format       = System.Windows.Forms.DateTimePickerFormat.Short;
     this.startDate.Location     = new System.Drawing.Point(4, 184);
     this.startDate.Name         = "startDate";
     this.startDate.Size         = new System.Drawing.Size(112, 20);
     this.startDate.TabIndex     = 5;
     this.toolTip.SetToolTip(this.startDate, "Starting date on the x-axis");
     this.startDate.Value         = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
     this.startDate.ValueChanged += new System.EventHandler(this.startDate_ValueChanged);
     //
     // duration
     //
     this.duration.ForeColor  = System.Drawing.SystemColors.WindowText;
     this.duration.ItemHeight = 14;
     this.duration.Items.AddRange(new object[] {
         "10",
         "20",
         "30",
         "60",
         "90",
         "180",
         "360",
         "720",
         "1080",
         "1440"
     });
     this.duration.Location         = new System.Drawing.Point(4, 236);
     this.duration.MaxDropDownItems = 12;
     this.duration.Name             = "duration";
     this.duration.Size             = new System.Drawing.Size(112, 22);
     this.duration.TabIndex         = 6;
     this.duration.Text             = "60";
     this.toolTip.SetToolTip(this.duration, "Duration of the x-axis");
     this.duration.KeyPress             += new System.Windows.Forms.KeyPressEventHandler(this.duration_KeyPress);
     this.duration.SelectedIndexChanged += new System.EventHandler(this.duration_SelectedIndexChanged);
     this.duration.Leave += new System.EventHandler(this.duration_Leave);
     //
     // startDateLabel
     //
     this.startDateLabel.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.startDateLabel.Location = new System.Drawing.Point(4, 168);
     this.startDateLabel.Name     = "startDateLabel";
     this.startDateLabel.Size     = new System.Drawing.Size(72, 16);
     this.startDateLabel.TabIndex = 1;
     this.startDateLabel.Text     = "Start Date";
     //
     // durationLabel
     //
     this.durationLabel.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.durationLabel.Location = new System.Drawing.Point(4, 220);
     this.durationLabel.Name     = "durationLabel";
     this.durationLabel.Size     = new System.Drawing.Size(96, 16);
     this.durationLabel.TabIndex = 12;
     this.durationLabel.Text     = "Duration (Days)";
     //
     // leftPanel
     //
     this.leftPanel.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.leftPanel.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.separatorLine,
         this.zoomModePanel,
         this.zoomModeLabel,
         this.duration,
         this.pointerPB,
         this.zoomInPB,
         this.zoomOutPB,
         this.startDate,
         this.startDateLabel,
         this.durationLabel
     });
     this.leftPanel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.leftPanel.Location = new System.Drawing.Point(0, 24);
     this.leftPanel.Name     = "leftPanel";
     this.leftPanel.Size     = new System.Drawing.Size(120, 332);
     this.leftPanel.TabIndex = 18;
     //
     // separatorLine
     //
     this.separatorLine.BackColor = System.Drawing.Color.Black;
     this.separatorLine.Dock      = System.Windows.Forms.DockStyle.Right;
     this.separatorLine.Location  = new System.Drawing.Point(119, 0);
     this.separatorLine.Name      = "separatorLine";
     this.separatorLine.Size      = new System.Drawing.Size(1, 332);
     this.separatorLine.TabIndex  = 31;
     //
     // zoomModePanel
     //
     this.zoomModePanel.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.xZoomPB,
         this.xyZoomPB
     });
     this.zoomModePanel.Location = new System.Drawing.Point(0, 104);
     this.zoomModePanel.Name     = "zoomModePanel";
     this.zoomModePanel.Size     = new System.Drawing.Size(120, 52);
     this.zoomModePanel.TabIndex = 34;
     //
     // xZoomPB
     //
     this.xZoomPB.Appearance = System.Windows.Forms.Appearance.Button;
     this.xZoomPB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.xZoomPB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("xZoomPB.Image")));
     this.xZoomPB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.xZoomPB.Name       = "xZoomPB";
     this.xZoomPB.Size       = new System.Drawing.Size(120, 25);
     this.xZoomPB.TabIndex   = 3;
     this.xZoomPB.Text       = "      X Zoom / Y Auto";
     this.toolTip.SetToolTip(this.xZoomPB, "X-Axis zoomable / Y-Axis auto-scaled");
     this.xZoomPB.CheckedChanged += new System.EventHandler(this.xZoomPB_CheckedChanged);
     //
     // xyZoomPB
     //
     this.xyZoomPB.Appearance = System.Windows.Forms.Appearance.Button;
     this.xyZoomPB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.xyZoomPB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("xyZoomPB.Image")));
     this.xyZoomPB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.xyZoomPB.Location   = new System.Drawing.Point(0, 24);
     this.xyZoomPB.Name       = "xyZoomPB";
     this.xyZoomPB.Size       = new System.Drawing.Size(120, 24);
     this.xyZoomPB.TabIndex   = 4;
     this.xyZoomPB.Text       = "      XY Zoom";
     this.toolTip.SetToolTip(this.xyZoomPB, "X-Axis and Y-Axis zoomable");
     this.xyZoomPB.CheckedChanged += new System.EventHandler(this.xyZoomPB_CheckedChanged);
     //
     // zoomModeLabel
     //
     this.zoomModeLabel.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.zoomModeLabel.Location = new System.Drawing.Point(4, 88);
     this.zoomModeLabel.Name     = "zoomModeLabel";
     this.zoomModeLabel.Size     = new System.Drawing.Size(92, 16);
     this.zoomModeLabel.TabIndex = 33;
     this.zoomModeLabel.Text     = "Zoom Mode";
     //
     // hScrollBar1
     //
     this.hScrollBar1.BackColor     = System.Drawing.Color.White;
     this.hScrollBar1.Cursor        = System.Windows.Forms.Cursors.Default;
     this.hScrollBar1.Font          = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.hScrollBar1.Location      = new System.Drawing.Point(120, 340);
     this.hScrollBar1.Maximum       = 1000000000;
     this.hScrollBar1.Name          = "hScrollBar1";
     this.hScrollBar1.Size          = new System.Drawing.Size(614, 16);
     this.hScrollBar1.TabIndex      = 6;
     this.hScrollBar1.ValueChanged += new System.EventHandler(this.hScrollBar1_ValueChanged);
     //
     // winChartViewer1
     //
     this.winChartViewer1.ChartSizeMode    = ChartDirector.WinChartSizeMode.StretchImage;
     this.winChartViewer1.HotSpotCursor    = System.Windows.Forms.Cursors.Hand;
     this.winChartViewer1.Location         = new System.Drawing.Point(128, 32);
     this.winChartViewer1.Name             = "winChartViewer1";
     this.winChartViewer1.ScrollDirection  = ChartDirector.WinChartDirection.HorizontalVertical;
     this.winChartViewer1.Size             = new System.Drawing.Size(600, 300);
     this.winChartViewer1.TabIndex         = 19;
     this.winChartViewer1.TabStop          = false;
     this.winChartViewer1.ZoomDirection    = ChartDirector.WinChartDirection.HorizontalVertical;
     this.winChartViewer1.ViewPortChanged += new ChartDirector.WinViewPortEventHandler(this.winChartViewer1_ViewPortChanged);
     this.winChartViewer1.MouseEnter      += new System.EventHandler(this.winChartViewer1_MouseEnter);
     this.winChartViewer1.ClickHotSpot    += new ChartDirector.WinHotSpotEventHandler(this.winChartViewer1_ClickHotSpot);
     //
     // vScrollBar1
     //
     this.vScrollBar1.Location      = new System.Drawing.Point(734, 24);
     this.vScrollBar1.Maximum       = 1000000000;
     this.vScrollBar1.Name          = "vScrollBar1";
     this.vScrollBar1.Size          = new System.Drawing.Size(16, 316);
     this.vScrollBar1.TabIndex      = 20;
     this.vScrollBar1.ValueChanged += new System.EventHandler(this.vScrollBar1_ValueChanged);
     //
     // filler
     //
     this.filler.BackColor = System.Drawing.SystemColors.Control;
     this.filler.Location  = new System.Drawing.Point(732, 340);
     this.filler.Name      = "filler";
     this.filler.Size      = new System.Drawing.Size(20, 16);
     this.filler.TabIndex  = 21;
     //
     // FrmZoomScrollDemo
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(750, 356);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.vScrollBar1,
         this.winChartViewer1,
         this.hScrollBar1,
         this.leftPanel,
         this.topLabel,
         this.filler
     });
     this.Font            = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "FrmZoomScrollDemo";
     this.Text            = "ChartDirector Zooming and Scrolling Demonstration";
     this.Load           += new System.EventHandler(this.FrmZoomScrollDemo_Load);
     this.leftPanel.ResumeLayout(false);
     this.zoomModePanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmZoomScrollDemo2));
     this.winChartViewer1   = new ChartDirector.WinChartViewer();
     this.buttonRepeatTimer = new System.Windows.Forms.Timer(this.components);
     this.leftPanel         = new System.Windows.Forms.Panel();
     this.zoomLevelLabel    = new System.Windows.Forms.Label();
     this.downRightPB       = new System.Windows.Forms.Button();
     this.downPB            = new System.Windows.Forms.Button();
     this.rightPB           = new System.Windows.Forms.Button();
     this.separator         = new System.Windows.Forms.Label();
     this.pointerPB         = new System.Windows.Forms.RadioButton();
     this.zoomInPB          = new System.Windows.Forms.RadioButton();
     this.zoomOutPB         = new System.Windows.Forms.RadioButton();
     this.centerPB          = new System.Windows.Forms.Button();
     this.upRightPB         = new System.Windows.Forms.Button();
     this.downLeftPB        = new System.Windows.Forms.Button();
     this.zoomBar           = new System.Windows.Forms.TrackBar();
     this.navigatePad       = new System.Windows.Forms.Panel();
     this.navigateWindow    = new System.Windows.Forms.Label();
     this.leftPB            = new System.Windows.Forms.Button();
     this.upPB     = new System.Windows.Forms.Button();
     this.upLeftPB = new System.Windows.Forms.Button();
     this.topLabel = new System.Windows.Forms.Label();
     this.toolTip  = new System.Windows.Forms.ToolTip(this.components);
     this.leftPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.zoomBar)).BeginInit();
     this.navigatePad.SuspendLayout();
     this.SuspendLayout();
     //
     // winChartViewer1
     //
     this.winChartViewer1.ChartSizeMode    = ChartDirector.WinChartSizeMode.StretchImage;
     this.winChartViewer1.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.winChartViewer1.HotSpotCursor    = System.Windows.Forms.Cursors.Hand;
     this.winChartViewer1.Location         = new System.Drawing.Point(96, 24);
     this.winChartViewer1.Name             = "winChartViewer1";
     this.winChartViewer1.ScrollDirection  = ChartDirector.WinChartDirection.HorizontalVertical;
     this.winChartViewer1.Size             = new System.Drawing.Size(500, 482);
     this.winChartViewer1.TabIndex         = 0;
     this.winChartViewer1.TabStop          = false;
     this.winChartViewer1.ZoomDirection    = ChartDirector.WinChartDirection.HorizontalVertical;
     this.winChartViewer1.ViewPortChanged += new ChartDirector.WinViewPortEventHandler(this.winChartViewer1_ViewPortChanged);
     this.winChartViewer1.MouseEnter      += new System.EventHandler(this.winChartViewer1_MouseEnter);
     this.winChartViewer1.ClickHotSpot    += new ChartDirector.WinHotSpotEventHandler(this.winChartViewer1_ClickHotSpot);
     //
     // buttonRepeatTimer
     //
     this.buttonRepeatTimer.Tick += new System.EventHandler(this.buttonRepeatTimer_Tick);
     //
     // leftPanel
     //
     this.leftPanel.BackColor = System.Drawing.Color.LightGray;
     this.leftPanel.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.zoomLevelLabel,
         this.downRightPB,
         this.downPB,
         this.rightPB,
         this.separator,
         this.pointerPB,
         this.zoomInPB,
         this.zoomOutPB,
         this.centerPB,
         this.upRightPB,
         this.downLeftPB,
         this.zoomBar,
         this.navigatePad,
         this.leftPB,
         this.upPB,
         this.upLeftPB
     });
     this.leftPanel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.leftPanel.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.leftPanel.Location = new System.Drawing.Point(0, 24);
     this.leftPanel.Name     = "leftPanel";
     this.leftPanel.Size     = new System.Drawing.Size(96, 482);
     this.leftPanel.TabIndex = 15;
     //
     // zoomLevelLabel
     //
     this.zoomLevelLabel.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.zoomLevelLabel.Location = new System.Drawing.Point(12, 252);
     this.zoomLevelLabel.Name     = "zoomLevelLabel";
     this.zoomLevelLabel.Size     = new System.Drawing.Size(80, 16);
     this.zoomLevelLabel.TabIndex = 33;
     this.zoomLevelLabel.Text     = "Zoom Level";
     //
     // downRightPB
     //
     this.downRightPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("downRightPB.Image")));
     this.downRightPB.Location = new System.Drawing.Point(64, 184);
     this.downRightPB.Name     = "downRightPB";
     this.downRightPB.Size     = new System.Drawing.Size(33, 33);
     this.downRightPB.TabIndex = 12;
     this.toolTip.SetToolTip(this.downRightPB, "Click to move the view port in the desired direction.");
     this.downRightPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.downRightPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseDown);
     //
     // downPB
     //
     this.downPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("downPB.Image")));
     this.downPB.Location = new System.Drawing.Point(32, 184);
     this.downPB.Name     = "downPB";
     this.downPB.Size     = new System.Drawing.Size(33, 33);
     this.downPB.TabIndex = 11;
     this.toolTip.SetToolTip(this.downPB, "Click to move the view port in the desired direction.");
     this.downPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.downPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseDown);
     //
     // rightPB
     //
     this.rightPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("rightPB.Image")));
     this.rightPB.Location = new System.Drawing.Point(64, 152);
     this.rightPB.Name     = "rightPB";
     this.rightPB.Size     = new System.Drawing.Size(33, 33);
     this.rightPB.TabIndex = 9;
     this.toolTip.SetToolTip(this.rightPB, "Click to move the view port in the desired direction.");
     this.rightPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.rightPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseDown);
     //
     // separator
     //
     this.separator.BackColor = System.Drawing.Color.Black;
     this.separator.Dock      = System.Windows.Forms.DockStyle.Right;
     this.separator.Location  = new System.Drawing.Point(95, 0);
     this.separator.Name      = "separator";
     this.separator.Size      = new System.Drawing.Size(1, 482);
     this.separator.TabIndex  = 32;
     //
     // pointerPB
     //
     this.pointerPB.Appearance = System.Windows.Forms.Appearance.Button;
     this.pointerPB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.pointerPB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("pointerPB.Image")));
     this.pointerPB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.pointerPB.Name       = "pointerPB";
     this.pointerPB.Size       = new System.Drawing.Size(96, 29);
     this.pointerPB.TabIndex   = 1;
     this.pointerPB.TabStop    = true;
     this.pointerPB.Text       = "      Pointer";
     this.toolTip.SetToolTip(this.pointerPB, "Click to display hot spot parameters.\nDrag to scroll.");
     this.pointerPB.CheckedChanged += new System.EventHandler(this.pointerPB_CheckedChanged);
     //
     // zoomInPB
     //
     this.zoomInPB.Appearance = System.Windows.Forms.Appearance.Button;
     this.zoomInPB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.zoomInPB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("zoomInPB.Image")));
     this.zoomInPB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.zoomInPB.Location   = new System.Drawing.Point(0, 28);
     this.zoomInPB.Name       = "zoomInPB";
     this.zoomInPB.Size       = new System.Drawing.Size(96, 29);
     this.zoomInPB.TabIndex   = 2;
     this.zoomInPB.TabStop    = true;
     this.zoomInPB.Text       = "      Zoom In";
     this.toolTip.SetToolTip(this.zoomInPB, "Click to zoom in.\nDrag to select zoom region.");
     this.zoomInPB.CheckedChanged += new System.EventHandler(this.zoomInPB_CheckedChanged);
     //
     // zoomOutPB
     //
     this.zoomOutPB.Appearance = System.Windows.Forms.Appearance.Button;
     this.zoomOutPB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.zoomOutPB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("zoomOutPB.Image")));
     this.zoomOutPB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.zoomOutPB.Location   = new System.Drawing.Point(0, 56);
     this.zoomOutPB.Name       = "zoomOutPB";
     this.zoomOutPB.Size       = new System.Drawing.Size(96, 28);
     this.zoomOutPB.TabIndex   = 3;
     this.zoomOutPB.TabStop    = true;
     this.zoomOutPB.Text       = "      Zoom Out";
     this.toolTip.SetToolTip(this.zoomOutPB, "Click to zoom out.");
     this.zoomOutPB.CheckedChanged += new System.EventHandler(this.zoomOutPB_CheckedChanged);
     //
     // centerPB
     //
     this.centerPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("centerPB.Image")));
     this.centerPB.Location = new System.Drawing.Point(32, 152);
     this.centerPB.Name     = "centerPB";
     this.centerPB.Size     = new System.Drawing.Size(33, 33);
     this.centerPB.TabIndex = 8;
     this.toolTip.SetToolTip(this.centerPB, "Click to center the view port.");
     this.centerPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.centerPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.centerPB_MouseDown);
     //
     // upRightPB
     //
     this.upRightPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("upRightPB.Image")));
     this.upRightPB.Location = new System.Drawing.Point(64, 120);
     this.upRightPB.Name     = "upRightPB";
     this.upRightPB.Size     = new System.Drawing.Size(33, 33);
     this.upRightPB.TabIndex = 6;
     this.toolTip.SetToolTip(this.upRightPB, "Click to move the view port in the desired direction.");
     this.upRightPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.upRightPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseDown);
     //
     // downLeftPB
     //
     this.downLeftPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("downLeftPB.Image")));
     this.downLeftPB.Location = new System.Drawing.Point(0, 184);
     this.downLeftPB.Name     = "downLeftPB";
     this.downLeftPB.Size     = new System.Drawing.Size(33, 33);
     this.downLeftPB.TabIndex = 10;
     this.toolTip.SetToolTip(this.downLeftPB, "Click to move the view port in the desired direction.");
     this.downLeftPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.downLeftPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseDown);
     //
     // zoomBar
     //
     this.zoomBar.Location      = new System.Drawing.Point(-4, 268);
     this.zoomBar.Maximum       = 100;
     this.zoomBar.Minimum       = 1;
     this.zoomBar.Name          = "zoomBar";
     this.zoomBar.Size          = new System.Drawing.Size(104, 45);
     this.zoomBar.TabIndex      = 13;
     this.zoomBar.TabStop       = false;
     this.zoomBar.TickFrequency = 10;
     this.zoomBar.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.toolTip.SetToolTip(this.zoomBar, "Side to control the zoom ratio.");
     this.zoomBar.Value         = 1;
     this.zoomBar.ValueChanged += new System.EventHandler(this.zoomBar_ValueChanged);
     //
     // navigatePad
     //
     this.navigatePad.AllowDrop   = true;
     this.navigatePad.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.navigatePad.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.navigatePad.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.navigateWindow
     });
     this.navigatePad.Location = new System.Drawing.Point(0, 348);
     this.navigatePad.Name     = "navigatePad";
     this.navigatePad.Size     = new System.Drawing.Size(96, 88);
     this.navigatePad.TabIndex = 19;
     //
     // navigateWindow
     //
     this.navigateWindow.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
     this.navigateWindow.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.navigateWindow.Location    = new System.Drawing.Point(16, 16);
     this.navigateWindow.Name        = "navigateWindow";
     this.navigateWindow.Size        = new System.Drawing.Size(56, 48);
     this.navigateWindow.TabIndex    = 0;
     this.toolTip.SetToolTip(this.navigateWindow, "Drag to move the view port.");
     this.navigateWindow.MouseMove += new System.Windows.Forms.MouseEventHandler(this.navigateWindow_MouseMove);
     this.navigateWindow.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateWindow_MouseDown);
     //
     // leftPB
     //
     this.leftPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("leftPB.Image")));
     this.leftPB.Location = new System.Drawing.Point(0, 152);
     this.leftPB.Name     = "leftPB";
     this.leftPB.Size     = new System.Drawing.Size(33, 33);
     this.leftPB.TabIndex = 7;
     this.toolTip.SetToolTip(this.leftPB, "Click to move the view port in the desired direction.");
     this.leftPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.leftPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseDown);
     //
     // upPB
     //
     this.upPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("upPB.Image")));
     this.upPB.Location = new System.Drawing.Point(32, 120);
     this.upPB.Name     = "upPB";
     this.upPB.Size     = new System.Drawing.Size(33, 33);
     this.upPB.TabIndex = 5;
     this.toolTip.SetToolTip(this.upPB, "Click to move the view port in the desired direction.");
     this.upPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.upPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseDown);
     //
     // upLeftPB
     //
     this.upLeftPB.Image    = ((System.Drawing.Bitmap)(resources.GetObject("upLeftPB.Image")));
     this.upLeftPB.Location = new System.Drawing.Point(0, 120);
     this.upLeftPB.Name     = "upLeftPB";
     this.upLeftPB.Size     = new System.Drawing.Size(33, 33);
     this.upLeftPB.TabIndex = 4;
     this.toolTip.SetToolTip(this.upLeftPB, "Click to move the view port in the desired direction.");
     this.upLeftPB.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseUp);
     this.upLeftPB.MouseDown += new System.Windows.Forms.MouseEventHandler(this.navigateButton_MouseDown);
     //
     // topLabel
     //
     this.topLabel.BackColor = System.Drawing.Color.Navy;
     this.topLabel.Dock      = System.Windows.Forms.DockStyle.Top;
     this.topLabel.Font      = new System.Drawing.Font("Arial", 9.75F, (System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.topLabel.ForeColor = System.Drawing.Color.Yellow;
     this.topLabel.Name      = "topLabel";
     this.topLabel.Size      = new System.Drawing.Size(596, 24);
     this.topLabel.TabIndex  = 18;
     this.topLabel.Text      = "Advanced Software Engineering";
     this.topLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // FrmZoomScrollDemo2
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.ClientSize        = new System.Drawing.Size(596, 506);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.winChartViewer1,
         this.leftPanel,
         this.topLabel
     });
     this.MinimumSize = new System.Drawing.Size(604, 540);
     this.Name        = "FrmZoomScrollDemo2";
     this.Text        = "ChartDirector Zooming and Scrolling Demonstration (2)";
     this.Load       += new System.EventHandler(this.FrmZoomScrollDemo2_Load);
     this.leftPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.zoomBar)).EndInit();
     this.navigatePad.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmRealTimeDemo));
     this.rightClickContextMenu = new System.Windows.Forms.ContextMenu();
     this.copyMenuItem          = new System.Windows.Forms.MenuItem();
     this.dataRateTimer         = new System.Windows.Forms.Timer(this.components);
     this.leftPanel             = new System.Windows.Forms.Panel();
     this.alarmThreshold        = new System.Windows.Forms.NumericUpDown();
     this.samplePeriod          = new System.Windows.Forms.NumericUpDown();
     this.valueC                = new System.Windows.Forms.Label();
     this.valueB                = new System.Windows.Forms.Label();
     this.valueA                = new System.Windows.Forms.Label();
     this.valueCLabel           = new System.Windows.Forms.Label();
     this.valueBLabel           = new System.Windows.Forms.Label();
     this.valueALabel           = new System.Windows.Forms.Label();
     this.simulatedMachineLabel = new System.Windows.Forms.Label();
     this.freezePB              = new System.Windows.Forms.RadioButton();
     this.runPB = new System.Windows.Forms.RadioButton();
     this.alarmThresholdLabel = new System.Windows.Forms.Label();
     this.separator           = new System.Windows.Forms.Label();
     this.updatePeriodLabel   = new System.Windows.Forms.Label();
     this.topLabel            = new System.Windows.Forms.Label();
     this.chartUpdateTimer    = new System.Windows.Forms.Timer(this.components);
     this.winChartViewer1     = new ChartDirector.WinChartViewer();
     this.leftPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.alarmThreshold)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.samplePeriod)).BeginInit();
     this.SuspendLayout();
     //
     // rightClickContextMenu
     //
     this.rightClickContextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.copyMenuItem
     });
     //
     // copyMenuItem
     //
     this.copyMenuItem.Index  = 0;
     this.copyMenuItem.Text   = "Copy";
     this.copyMenuItem.Click += new System.EventHandler(this.copyMenuItem_Click);
     //
     // dataRateTimer
     //
     this.dataRateTimer.Tick += new System.EventHandler(this.dataRateTimer_Tick);
     //
     // leftPanel
     //
     this.leftPanel.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224)));
     this.leftPanel.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.alarmThreshold,
         this.samplePeriod,
         this.valueC,
         this.valueB,
         this.valueA,
         this.valueCLabel,
         this.valueBLabel,
         this.valueALabel,
         this.simulatedMachineLabel,
         this.freezePB,
         this.runPB,
         this.alarmThresholdLabel,
         this.separator,
         this.updatePeriodLabel
     });
     this.leftPanel.Dock     = System.Windows.Forms.DockStyle.Left;
     this.leftPanel.Location = new System.Drawing.Point(0, 24);
     this.leftPanel.Name     = "leftPanel";
     this.leftPanel.Size     = new System.Drawing.Size(120, 286);
     this.leftPanel.TabIndex = 19;
     //
     // alarmThreshold
     //
     this.alarmThreshold.Location = new System.Drawing.Point(4, 124);
     this.alarmThreshold.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.alarmThreshold.Name     = "alarmThreshold";
     this.alarmThreshold.Size     = new System.Drawing.Size(112, 20);
     this.alarmThreshold.TabIndex = 4;
     this.alarmThreshold.Value    = new System.Decimal(new int[] {
         210,
         0,
         0,
         0
     });
     this.alarmThreshold.ValueChanged += new System.EventHandler(this.alarmThreshold_ValueChanged);
     //
     // samplePeriod
     //
     this.samplePeriod.Increment = new System.Decimal(new int[] {
         250,
         0,
         0,
         0
     });
     this.samplePeriod.Location = new System.Drawing.Point(4, 76);
     this.samplePeriod.Maximum  = new System.Decimal(new int[] {
         2000,
         0,
         0,
         0
     });
     this.samplePeriod.Minimum = new System.Decimal(new int[] {
         250,
         0,
         0,
         0
     });
     this.samplePeriod.Name     = "samplePeriod";
     this.samplePeriod.Size     = new System.Drawing.Size(112, 20);
     this.samplePeriod.TabIndex = 3;
     this.samplePeriod.Value    = new System.Decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.samplePeriod.ValueChanged += new System.EventHandler(this.samplePeriod_ValueChanged);
     //
     // valueC
     //
     this.valueC.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.valueC.Location    = new System.Drawing.Point(56, 244);
     this.valueC.Name        = "valueC";
     this.valueC.Size        = new System.Drawing.Size(60, 20);
     this.valueC.TabIndex    = 45;
     this.valueC.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // valueB
     //
     this.valueB.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.valueB.Location    = new System.Drawing.Point(56, 224);
     this.valueB.Name        = "valueB";
     this.valueB.Size        = new System.Drawing.Size(60, 20);
     this.valueB.TabIndex    = 44;
     this.valueB.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // valueA
     //
     this.valueA.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.valueA.Location    = new System.Drawing.Point(56, 204);
     this.valueA.Name        = "valueA";
     this.valueA.Size        = new System.Drawing.Size(60, 20);
     this.valueA.TabIndex    = 43;
     this.valueA.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // valueCLabel
     //
     this.valueCLabel.Location  = new System.Drawing.Point(4, 244);
     this.valueCLabel.Name      = "valueCLabel";
     this.valueCLabel.Size      = new System.Drawing.Size(48, 20);
     this.valueCLabel.TabIndex  = 42;
     this.valueCLabel.Text      = "Gamma";
     this.valueCLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // valueBLabel
     //
     this.valueBLabel.Location  = new System.Drawing.Point(4, 224);
     this.valueBLabel.Name      = "valueBLabel";
     this.valueBLabel.Size      = new System.Drawing.Size(48, 20);
     this.valueBLabel.TabIndex  = 41;
     this.valueBLabel.Text      = "Beta";
     this.valueBLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // valueALabel
     //
     this.valueALabel.Location  = new System.Drawing.Point(4, 204);
     this.valueALabel.Name      = "valueALabel";
     this.valueALabel.Size      = new System.Drawing.Size(48, 20);
     this.valueALabel.TabIndex  = 40;
     this.valueALabel.Text      = "Alpha";
     this.valueALabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // simulatedMachineLabel
     //
     this.simulatedMachineLabel.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.simulatedMachineLabel.Location = new System.Drawing.Point(4, 188);
     this.simulatedMachineLabel.Name     = "simulatedMachineLabel";
     this.simulatedMachineLabel.Size     = new System.Drawing.Size(112, 16);
     this.simulatedMachineLabel.TabIndex = 38;
     this.simulatedMachineLabel.Text     = "Simulated Machine";
     //
     // freezePB
     //
     this.freezePB.Appearance = System.Windows.Forms.Appearance.Button;
     this.freezePB.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.freezePB.Image      = ((System.Drawing.Bitmap)(resources.GetObject("freezePB.Image")));
     this.freezePB.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.freezePB.Location   = new System.Drawing.Point(0, 24);
     this.freezePB.Name       = "freezePB";
     this.freezePB.Size       = new System.Drawing.Size(120, 25);
     this.freezePB.TabIndex   = 1;
     this.freezePB.Text       = "       Freeze Chart";
     //
     // runPB
     //
     this.runPB.Appearance      = System.Windows.Forms.Appearance.Button;
     this.runPB.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.runPB.Image           = ((System.Drawing.Bitmap)(resources.GetObject("runPB.Image")));
     this.runPB.ImageAlign      = System.Drawing.ContentAlignment.TopLeft;
     this.runPB.Name            = "runPB";
     this.runPB.Size            = new System.Drawing.Size(120, 25);
     this.runPB.TabIndex        = 0;
     this.runPB.Text            = "       Run Chart";
     this.runPB.CheckedChanged += new System.EventHandler(this.runPB_CheckedChanged);
     //
     // alarmThresholdLabel
     //
     this.alarmThresholdLabel.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.alarmThresholdLabel.Location = new System.Drawing.Point(4, 108);
     this.alarmThresholdLabel.Name     = "alarmThresholdLabel";
     this.alarmThresholdLabel.Size     = new System.Drawing.Size(112, 16);
     this.alarmThresholdLabel.TabIndex = 34;
     this.alarmThresholdLabel.Text     = "Alarm Threshold";
     //
     // separator
     //
     this.separator.BackColor = System.Drawing.Color.Black;
     this.separator.Dock      = System.Windows.Forms.DockStyle.Right;
     this.separator.Location  = new System.Drawing.Point(119, 0);
     this.separator.Name      = "separator";
     this.separator.Size      = new System.Drawing.Size(1, 286);
     this.separator.TabIndex  = 31;
     //
     // updatePeriodLabel
     //
     this.updatePeriodLabel.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.updatePeriodLabel.Location = new System.Drawing.Point(4, 60);
     this.updatePeriodLabel.Name     = "updatePeriodLabel";
     this.updatePeriodLabel.Size     = new System.Drawing.Size(112, 16);
     this.updatePeriodLabel.TabIndex = 1;
     this.updatePeriodLabel.Text     = "Update Period (ms)";
     //
     // topLabel
     //
     this.topLabel.BackColor = System.Drawing.Color.Navy;
     this.topLabel.Dock      = System.Windows.Forms.DockStyle.Top;
     this.topLabel.Font      = new System.Drawing.Font("Arial", 9.75F, (System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.topLabel.ForeColor = System.Drawing.Color.Yellow;
     this.topLabel.Name      = "topLabel";
     this.topLabel.Size      = new System.Drawing.Size(736, 24);
     this.topLabel.TabIndex  = 20;
     this.topLabel.Text      = "Advanced Software Engineering";
     this.topLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // chartUpdateTimer
     //
     this.chartUpdateTimer.Tick += new System.EventHandler(this.chartUpdateTimer_Tick);
     //
     // winChartViewer1
     //
     this.winChartViewer1.ContextMenu      = this.rightClickContextMenu;
     this.winChartViewer1.Location         = new System.Drawing.Point(128, 32);
     this.winChartViewer1.Name             = "winChartViewer1";
     this.winChartViewer1.Size             = new System.Drawing.Size(600, 272);
     this.winChartViewer1.TabIndex         = 21;
     this.winChartViewer1.TabStop          = false;
     this.winChartViewer1.ViewPortChanged += new ChartDirector.WinViewPortEventHandler(this.winChartViewer1_ViewPortChanged);
     //
     // FrmRealTimeDemo
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(736, 310);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.winChartViewer1,
         this.leftPanel,
         this.topLabel
     });
     this.Font            = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "FrmRealTimeDemo";
     this.Text            = "ChartDirector Realtime Chart Demonstration";
     this.Load           += new System.EventHandler(this.FrmRealTimeDemo_Load);
     this.leftPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.alarmThreshold)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.samplePeriod)).EndInit();
     this.ResumeLayout(false);
 }
Exemple #7
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.statusBarPanel = new System.Windows.Forms.StatusBarPanel();
            this.BackPB = new System.Windows.Forms.ToolBarButton();
            this.ForwardPB = new System.Windows.Forms.ToolBarButton();
            this.PreviousPB = new System.Windows.Forms.ToolBarButton();
            this.NextPB = new System.Windows.Forms.ToolBarButton();
            this.ViewSourcePB = new System.Windows.Forms.ToolBarButton();
            this.HelpPB = new System.Windows.Forms.ToolBarButton();
            this.treeView = new AME.Views.View_Components.ToolTipTreeView();
            this.panel1 = new System.Windows.Forms.Panel();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.winChartViewer3 = new ChartDirector.WinChartViewer();
            this.winChartViewer2 = new ChartDirector.WinChartViewer();
            this.winChartViewer1 = new ChartDirector.WinChartViewer();
            this.hScrollBar1 = new System.Windows.Forms.HScrollBar();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).BeginInit();
            this.panel1.SuspendLayout();
            this.tableLayoutPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.winChartViewer3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.winChartViewer2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.winChartViewer1)).BeginInit();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.SuspendLayout();
            // 
            // statusBarPanel
            // 
            this.statusBarPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.statusBarPanel.Name = "statusBarPanel";
            this.statusBarPanel.Text = " Please select chart to view";
            this.statusBarPanel.Width = 816;
            // 
            // BackPB
            // 
            this.BackPB.Enabled = false;
            this.BackPB.ImageIndex = 0;
            this.BackPB.Name = "BackPB";
            this.BackPB.Text = "Back";
            // 
            // ForwardPB
            // 
            this.ForwardPB.Enabled = false;
            this.ForwardPB.ImageIndex = 1;
            this.ForwardPB.Name = "ForwardPB";
            this.ForwardPB.Text = "Forward";
            // 
            // PreviousPB
            // 
            this.PreviousPB.ImageIndex = 2;
            this.PreviousPB.Name = "PreviousPB";
            this.PreviousPB.Text = "Previous";
            // 
            // NextPB
            // 
            this.NextPB.ImageIndex = 3;
            this.NextPB.Name = "NextPB";
            this.NextPB.Text = "Next";
            // 
            // ViewSourcePB
            // 
            this.ViewSourcePB.ImageIndex = 4;
            this.ViewSourcePB.Name = "ViewSourcePB";
            this.ViewSourcePB.Text = "View Code";
            // 
            // HelpPB
            // 
            this.HelpPB.ImageIndex = 5;
            this.HelpPB.Name = "HelpPB";
            this.HelpPB.Text = "View Doc";
            // 
            // treeView
            // 
            this.treeView.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeView.HotTracking = true;
            this.treeView.ItemHeight = 16;
            this.treeView.Location = new System.Drawing.Point(0, 0);
            this.treeView.Name = "treeView";
            this.treeView.Size = new System.Drawing.Size(197, 504);
            this.treeView.TabIndex = 5;
            this.treeView.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView_BeforeExpand);
            this.treeView.BeforeCollapse += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView_BeforeCollapse);
            this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect);
            // 
            // panel1
            // 
            this.panel1.BackColor = System.Drawing.SystemColors.ControlLightLight;
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panel1.Controls.Add(this.tableLayoutPanel1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(631, 504);
            this.panel1.TabIndex = 6;
            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.ColumnCount = 1;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.Controls.Add(this.winChartViewer3, 0, 2);
            this.tableLayoutPanel1.Controls.Add(this.winChartViewer2, 0, 1);
            this.tableLayoutPanel1.Controls.Add(this.winChartViewer1, 0, 0);
            this.tableLayoutPanel1.Controls.Add(this.hScrollBar1, 0, 3);
            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel1.Name = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 4;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33334F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33334F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 16F));
            this.tableLayoutPanel1.Size = new System.Drawing.Size(627, 500);
            this.tableLayoutPanel1.TabIndex = 7;
            // 
            // winChartViewer3
            // 
            this.winChartViewer3.Location = new System.Drawing.Point(4, 326);
            this.winChartViewer3.Dock = DockStyle.Fill;
            this.winChartViewer3.Margin = new System.Windows.Forms.Padding(4);
            this.winChartViewer3.Name = "winChartViewer3";
            this.winChartViewer3.ScrollDirection = ChartDirector.WinChartDirection.HorizontalVertical;
            this.winChartViewer3.Size = new System.Drawing.Size(618, 153);
            this.winChartViewer3.TabIndex = 8;
            this.winChartViewer3.TabStop = false;
            this.winChartViewer3.ViewPortChanged += new ChartDirector.WinViewPortEventHandler(this.winChartViewer3_ViewPortChanged);
            this.winChartViewer3.Resize += new System.EventHandler(this.winChartViewer3_Resize);
            // 
            // winChartViewer2
            // 
            this.winChartViewer2.Location = new System.Drawing.Point(4, 165);
            this.winChartViewer2.Dock = DockStyle.Fill;
            this.winChartViewer2.Margin = new System.Windows.Forms.Padding(4);
            this.winChartViewer2.Name = "winChartViewer2";
            this.winChartViewer2.ScrollDirection = ChartDirector.WinChartDirection.HorizontalVertical;
            this.winChartViewer2.Size = new System.Drawing.Size(618, 151);
            this.winChartViewer2.TabIndex = 7;
            this.winChartViewer2.TabStop = false;
            this.winChartViewer2.ViewPortChanged += new ChartDirector.WinViewPortEventHandler(this.winChartViewer2_ViewPortChanged);
            this.winChartViewer2.Resize += new System.EventHandler(this.winChartViewer2_Resize);
            // 
            // winChartViewer1
            // 
            this.winChartViewer1.Location = new System.Drawing.Point(4, 4);
            this.winChartViewer1.Dock = DockStyle.Fill;
            this.winChartViewer1.Margin = new System.Windows.Forms.Padding(4);
            this.winChartViewer1.Name = "winChartViewer1";
            this.winChartViewer1.ScrollDirection = ChartDirector.WinChartDirection.HorizontalVertical;
            this.winChartViewer1.Size = new System.Drawing.Size(618, 152);
            this.winChartViewer1.TabIndex = 6;
            this.winChartViewer1.TabStop = false;
            this.winChartViewer1.ViewPortChanged += new ChartDirector.WinViewPortEventHandler(this.winChartViewer1_ViewPortChanged_1);
            this.winChartViewer1.Resize += new System.EventHandler(this.winChartViewer1_Resize);
            // 
            // hScrollBar1
            // 
            this.hScrollBar1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.hScrollBar1.Location = new System.Drawing.Point(0, 483);
            this.hScrollBar1.Name = "hScrollBar1";
            this.hScrollBar1.Size = new System.Drawing.Size(627, 17);
            this.hScrollBar1.TabIndex = 9;
            this.hScrollBar1.ValueChanged += new System.EventHandler(this.hScrollBar1_ValueChanged);
            // 
            // splitContainer1
            // 
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.treeView);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.panel1);
            this.splitContainer1.Size = new System.Drawing.Size(832, 504);
            this.splitContainer1.SplitterDistance = 197;
            this.splitContainer1.TabIndex = 8;
            // 
            // ChartExplorer
            // 
            this.Controls.Add(this.splitContainer1);
            this.Name = "ChartExplorer";
            this.Size = new System.Drawing.Size(832, 504);
            ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).EndInit();
            this.panel1.ResumeLayout(false);
            this.tableLayoutPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.winChartViewer3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.winChartViewer2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.winChartViewer1)).EndInit();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            this.ResumeLayout(false);

		}