Example #1
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();
     this.led1                     = new Seagate.AAS.UI.Led();
     this.button1                  = new System.Windows.Forms.Button();
     this.formattedNumber1         = new Seagate.AAS.UI.FormattedNumber();
     this.formattedNumber2         = new Seagate.AAS.UI.FormattedNumber();
     this.touchscreenNumBox1       = new Seagate.AAS.UI.TouchscreenNumBox();
     this.touchscreenTextBox1      = new Seagate.AAS.UI.TouchscreenTextBox();
     this.label1                   = new System.Windows.Forms.Label();
     this.label2                   = new System.Windows.Forms.Label();
     this.simpleChart1             = new Seagate.AAS.UI.SimpleChart();
     this.buttonTestChart          = new System.Windows.Forms.Button();
     this.checkBox1                = new System.Windows.Forms.CheckBox();
     this.buttonDrawPareto         = new System.Windows.Forms.Button();
     this.buttonDrawLineChart      = new System.Windows.Forms.Button();
     this.buttonDraw2DataLineChart = new System.Windows.Forms.Button();
     this.radarIndicator1          = new Seagate.AAS.UI.RadarIndicator();
     this.sortableListView1        = new Seagate.AAS.UI.SortListView(this.components);
     this.button2                  = new System.Windows.Forms.Button();
     this.button3                  = new System.Windows.Forms.Button();
     this.touchscreenUpDown1       = new Seagate.AAS.UI.TouchscreenUpDown();
     this.SuspendLayout();
     //
     // led1
     //
     this.led1.DisplayAsButton = true;
     this.led1.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.led1.ForeColor       = System.Drawing.SystemColors.ActiveCaptionText;
     this.led1.LedColor        = Seagate.AAS.UI.LedColorList.Red;
     this.led1.Location        = new System.Drawing.Point(32, 16);
     this.led1.Name            = "led1";
     this.led1.Size            = new System.Drawing.Size(160, 56);
     this.led1.State           = true;
     this.led1.TabIndex        = 0;
     this.led1.Text            = "Left Escapement Open";
     this.led1.Click          += new System.EventHandler(this.led1_Click);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(208, 24);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(72, 40);
     this.button1.TabIndex = 1;
     this.button1.Text     = "Toggle State";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // formattedNumber1
     //
     this.formattedNumber1.Location     = new System.Drawing.Point(120, 96);
     this.formattedNumber1.Name         = "formattedNumber1";
     this.formattedNumber1.Number       = 0;
     this.formattedNumber1.NumberFormat = "0.000";
     this.formattedNumber1.Size         = new System.Drawing.Size(100, 23);
     this.formattedNumber1.TabIndex     = 1;
     this.formattedNumber1.Text         = "0.000";
     this.formattedNumber1.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     //
     // formattedNumber2
     //
     this.formattedNumber2.Location     = new System.Drawing.Point(256, 96);
     this.formattedNumber2.Name         = "formattedNumber2";
     this.formattedNumber2.Number       = 0;
     this.formattedNumber2.NumberFormat = "0.000";
     this.formattedNumber2.Size         = new System.Drawing.Size(100, 23);
     this.formattedNumber2.TabIndex     = 0;
     this.formattedNumber2.Text         = "0.000";
     this.formattedNumber2.TextAlign    = System.Drawing.ContentAlignment.MiddleRight;
     //
     // touchscreenNumBox1
     //
     this.touchscreenNumBox1.BackColor   = System.Drawing.Color.White;
     this.touchscreenNumBox1.IntegerOnly = false;
     this.touchscreenNumBox1.Location    = new System.Drawing.Point(32, 152);
     this.touchscreenNumBox1.Max         = 100;
     this.touchscreenNumBox1.Min         = -5;
     this.touchscreenNumBox1.Name        = "touchscreenNumBox1";
     this.touchscreenNumBox1.Size        = new System.Drawing.Size(100, 20);
     this.touchscreenNumBox1.TabIndex    = 2;
     this.touchscreenNumBox1.Text        = "10";
     //
     // touchscreenTextBox1
     //
     this.touchscreenTextBox1.AlphaNumOnly = false;
     this.touchscreenTextBox1.BackColor    = System.Drawing.Color.White;
     this.touchscreenTextBox1.FormTitle    = "Enter Text";
     this.touchscreenTextBox1.Location     = new System.Drawing.Point(32, 248);
     this.touchscreenTextBox1.MinLength    = 0;
     this.touchscreenTextBox1.Name         = "touchscreenTextBox1";
     this.touchscreenTextBox1.NoWhiteSpace = false;
     this.touchscreenTextBox1.OnlyCaps     = false;
     this.touchscreenTextBox1.Size         = new System.Drawing.Size(100, 20);
     this.touchscreenTextBox1.TabIndex     = 3;
     this.touchscreenTextBox1.Text         = "Enter Text";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(32, 224);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(184, 23);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Text entry box for touchscreen";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(32, 128);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(184, 23);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Number entry box for touchscreen";
     //
     // simpleChart1
     //
     this.simpleChart1.BoundaryLine.Color = System.Drawing.Color.Gray;
     this.simpleChart1.BoundaryLine.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     this.simpleChart1.BoundaryLine.Width = 1;
     this.simpleChart1.ChartLine.Color    = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
     this.simpleChart1.ChartLine.Style    = System.Drawing.Drawing2D.DashStyle.Solid;
     this.simpleChart1.ChartLine.Width    = 1;
     this.simpleChart1.ForeColor          = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.simpleChart1.Location           = new System.Drawing.Point(435, 11);
     this.simpleChart1.MeanLine.Color     = System.Drawing.Color.Black;
     this.simpleChart1.MeanLine.Style     = System.Drawing.Drawing2D.DashStyle.Dash;
     this.simpleChart1.MeanLine.Width     = 1;
     this.simpleChart1.Name         = "simpleChart1";
     this.simpleChart1.Size         = new System.Drawing.Size(232, 117);
     this.simpleChart1.Symbol.Color = System.Drawing.Color.Blue;
     this.simpleChart1.Symbol.Size  = 10;
     this.simpleChart1.Symbol.Style = Seagate.AAS.UI.SymbolShape.Circle;
     this.simpleChart1.TabIndex     = 6;
     this.simpleChart1.Text         = "Test Chart Title Test";
     //
     // buttonTestChart
     //
     this.buttonTestChart.Location = new System.Drawing.Point(340, 16);
     this.buttonTestChart.Name     = "buttonTestChart";
     this.buttonTestChart.Size     = new System.Drawing.Size(80, 41);
     this.buttonTestChart.TabIndex = 7;
     this.buttonTestChart.Text     = "Test Chart";
     this.buttonTestChart.Click   += new System.EventHandler(this.buttonTestChart_Click);
     //
     // checkBox1
     //
     this.checkBox1.Location        = new System.Drawing.Point(25, 186);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(136, 24);
     this.checkBox1.TabIndex        = 9;
     this.checkBox1.Text            = "Display as Button";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // buttonDrawPareto
     //
     this.buttonDrawPareto.Location = new System.Drawing.Point(224, 288);
     this.buttonDrawPareto.Name     = "buttonDrawPareto";
     this.buttonDrawPareto.Size     = new System.Drawing.Size(95, 33);
     this.buttonDrawPareto.TabIndex = 11;
     this.buttonDrawPareto.Text     = "Draw Pareto";
     this.buttonDrawPareto.Click   += new System.EventHandler(this.buttonDrawPareto_Click);
     //
     // buttonDrawLineChart
     //
     this.buttonDrawLineChart.Location = new System.Drawing.Point(352, 288);
     this.buttonDrawLineChart.Name     = "buttonDrawLineChart";
     this.buttonDrawLineChart.Size     = new System.Drawing.Size(95, 33);
     this.buttonDrawLineChart.TabIndex = 12;
     this.buttonDrawLineChart.Text     = "Draw Single Data Set Line Chart";
     this.buttonDrawLineChart.Click   += new System.EventHandler(this.buttonDrawLineChart_Click);
     //
     // buttonDraw2DataLineChart
     //
     this.buttonDraw2DataLineChart.Location = new System.Drawing.Point(480, 288);
     this.buttonDraw2DataLineChart.Name     = "buttonDraw2DataLineChart";
     this.buttonDraw2DataLineChart.Size     = new System.Drawing.Size(95, 33);
     this.buttonDraw2DataLineChart.TabIndex = 13;
     this.buttonDraw2DataLineChart.Text     = "Draw Double Data Set Line Chart";
     this.buttonDraw2DataLineChart.Click   += new System.EventHandler(this.buttonDraw2DataLineChart_Click);
     //
     // radarIndicator1
     //
     this.radarIndicator1.InnerTolerance = 50F;
     this.radarIndicator1.Location       = new System.Drawing.Point(680, 16);
     this.radarIndicator1.Name           = "radarIndicator1";
     this.radarIndicator1.OuterTolerance = 100F;
     this.radarIndicator1.Size           = new System.Drawing.Size(160, 112);
     this.radarIndicator1.TabIndex       = 14;
     this.radarIndicator1.Text           = "radarIndicator1";
     this.radarIndicator1.ValueX         = 25F;
     this.radarIndicator1.ValueY         = 25F;
     this.radarIndicator1.MouseMove     += new System.Windows.Forms.MouseEventHandler(this.radarIndicator1_MouseMove);
     //
     // sortableListView1
     //
     this.sortableListView1.ColumnNames   = null;
     this.sortableListView1.FullRowSelect = true;
     this.sortableListView1.Location      = new System.Drawing.Point(344, 144);
     this.sortableListView1.MaxRows       = 100;
     this.sortableListView1.MultiSelect   = false;
     this.sortableListView1.Name          = "sortableListView1";
     this.sortableListView1.Size          = new System.Drawing.Size(464, 128);
     this.sortableListView1.TabIndex      = 15;
     this.sortableListView1.UseCompatibleStateImageBehavior = false;
     this.sortableListView1.View = System.Windows.Forms.View.Details;
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(232, 152);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(88, 32);
     this.button2.TabIndex = 16;
     this.button2.Text     = "Create Columns";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(232, 200);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(88, 32);
     this.button3.TabIndex = 17;
     this.button3.Text     = "Add Data";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // touchscreenUpDown1
     //
     this.touchscreenUpDown1.Increment = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.touchscreenUpDown1.InvertDirection = false;
     this.touchscreenUpDown1.LeftRight       = false;
     this.touchscreenUpDown1.Location        = new System.Drawing.Point(92, 301);
     this.touchscreenUpDown1.Max             = 10;
     this.touchscreenUpDown1.Min             = -10;
     this.touchscreenUpDown1.Name            = "touchscreenUpDown1";
     this.touchscreenUpDown1.Size            = new System.Drawing.Size(100, 75);
     this.touchscreenUpDown1.TabIndex        = 18;
     this.touchscreenUpDown1.Value           = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(856, 485);
     this.Controls.Add(this.touchscreenUpDown1);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.sortableListView1);
     this.Controls.Add(this.radarIndicator1);
     this.Controls.Add(this.buttonDraw2DataLineChart);
     this.Controls.Add(this.buttonDrawLineChart);
     this.Controls.Add(this.buttonDrawPareto);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.buttonTestChart);
     this.Controls.Add(this.simpleChart1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.touchscreenTextBox1);
     this.Controls.Add(this.touchscreenNumBox1);
     this.Controls.Add(this.formattedNumber2);
     this.Controls.Add(this.formattedNumber1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.led1);
     this.Name    = "Form1";
     this.Text    = "Form1";
     this.Layout += new System.Windows.Forms.LayoutEventHandler(this.Form1_Layout);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #2
0
 // Internal methods ----------------------------------------------------
 #region Component Designer generated code
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.splitter1       = new System.Windows.Forms.Splitter();
     this.listView1       = new System.Windows.Forms.ListView();
     this.contextMenu1    = new System.Windows.Forms.ContextMenu();
     this.menuItem1       = new System.Windows.Forms.MenuItem();
     this.simpleChart1    = new Seagate.AAS.UI.SimpleChart();
     this.comboBox1       = new System.Windows.Forms.ComboBox();
     this.panel1          = new System.Windows.Forms.Panel();
     this.radioGraph      = new System.Windows.Forms.RadioButton();
     this.radioStatistics = new System.Windows.Forms.RadioButton();
     this.radioViewList   = new System.Windows.Forms.RadioButton();
     this.listPoints      = new System.Windows.Forms.ListBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(192, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(8, 376);
     this.splitter1.TabIndex = 1;
     this.splitter1.TabStop  = false;
     //
     // listView1
     //
     this.listView1.AutoArrange   = false;
     this.listView1.FullRowSelect = true;
     this.listView1.Location      = new System.Drawing.Point(208, 72);
     this.listView1.MultiSelect   = false;
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(256, 96);
     this.listView1.TabIndex      = 2;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View    = System.Windows.Forms.View.Details;
     this.listView1.Visible = false;
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.Text  = "New Point";
     //
     // simpleChart1
     //
     this.simpleChart1.BoundaryLine.Color = System.Drawing.Color.Black;
     this.simpleChart1.BoundaryLine.Style = System.Drawing.Drawing2D.DashStyle.Solid;
     this.simpleChart1.BoundaryLine.Width = 2;
     this.simpleChart1.ChartLine.Color    = System.Drawing.Color.Black;
     this.simpleChart1.ChartLine.Style    = System.Drawing.Drawing2D.DashStyle.Solid;
     this.simpleChart1.ChartLine.Width    = 1;
     this.simpleChart1.Location           = new System.Drawing.Point(0, 0);
     this.simpleChart1.MeanLine.Color     = System.Drawing.Color.Black;
     this.simpleChart1.MeanLine.Style     = System.Drawing.Drawing2D.DashStyle.DashDot;
     this.simpleChart1.MeanLine.Width     = 1;
     this.simpleChart1.Name         = "simpleChart1";
     this.simpleChart1.Size         = new System.Drawing.Size(0, 0);
     this.simpleChart1.Symbol.Color = System.Drawing.Color.Black;
     this.simpleChart1.Symbol.Size  = 10;
     this.simpleChart1.Symbol.Style = Seagate.AAS.UI.SymbolShape.Circle;
     this.simpleChart1.TabIndex     = 6;
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Location              = new System.Drawing.Point(248, 184);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(160, 21);
     this.comboBox1.TabIndex              = 3;
     this.comboBox1.Visible               = false;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.radioGraph);
     this.panel1.Controls.Add(this.radioStatistics);
     this.panel1.Controls.Add(this.radioViewList);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(200, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(344, 48);
     this.panel1.TabIndex = 5;
     this.panel1.Resize  += new System.EventHandler(this.panel1_Resize);
     //
     // radioGraph
     //
     this.radioGraph.Appearance      = System.Windows.Forms.Appearance.Button;
     this.radioGraph.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioGraph.Location        = new System.Drawing.Point(224, 8);
     this.radioGraph.Name            = "radioGraph";
     this.radioGraph.Size            = new System.Drawing.Size(80, 32);
     this.radioGraph.TabIndex        = 2;
     this.radioGraph.Text            = "Graph";
     this.radioGraph.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.radioGraph.CheckedChanged += new System.EventHandler(this.radioViewList_CheckedChanged);
     //
     // radioStatistics
     //
     this.radioStatistics.Appearance      = System.Windows.Forms.Appearance.Button;
     this.radioStatistics.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioStatistics.Location        = new System.Drawing.Point(120, 8);
     this.radioStatistics.Name            = "radioStatistics";
     this.radioStatistics.Size            = new System.Drawing.Size(80, 32);
     this.radioStatistics.TabIndex        = 1;
     this.radioStatistics.Text            = "Statistics";
     this.radioStatistics.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.radioStatistics.CheckedChanged += new System.EventHandler(this.radioViewList_CheckedChanged);
     //
     // radioViewList
     //
     this.radioViewList.Appearance      = System.Windows.Forms.Appearance.Button;
     this.radioViewList.Checked         = true;
     this.radioViewList.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioViewList.Location        = new System.Drawing.Point(24, 8);
     this.radioViewList.Name            = "radioViewList";
     this.radioViewList.Size            = new System.Drawing.Size(80, 32);
     this.radioViewList.TabIndex        = 0;
     this.radioViewList.TabStop         = true;
     this.radioViewList.Text            = "List";
     this.radioViewList.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.radioViewList.CheckedChanged += new System.EventHandler(this.radioViewList_CheckedChanged);
     //
     // listPoints
     //
     this.listPoints.Dock                  = System.Windows.Forms.DockStyle.Left;
     this.listPoints.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listPoints.ItemHeight            = 16;
     this.listPoints.Location              = new System.Drawing.Point(0, 0);
     this.listPoints.Name                  = "listPoints";
     this.listPoints.Size                  = new System.Drawing.Size(192, 372);
     this.listPoints.Sorted                = true;
     this.listPoints.TabIndex              = 7;
     this.listPoints.SelectedIndexChanged += new System.EventHandler(this.listPoints_SelectedIndexChanged);
     //
     // PointStoreViewer
     //
     this.Controls.Add(this.simpleChart1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.listView1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.listPoints);
     this.Name = "PointStoreViewer";
     this.Size = new System.Drawing.Size(544, 376);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }