(1) Flow selection in New Test Wizard extended, (2) MainSeq and BencControlPael modified, etc.

This commit is contained in:
Milan Hanajik
2017-05-03 22:24:25 +02:00
parent 54a6c1e402
commit 17c685148e
12 changed files with 1139 additions and 953 deletions
+58 -40
View File
@@ -44,6 +44,7 @@ namespace TBF.UiControls
this.sensitivityTestBtn = new System.Windows.Forms.Button();
this.emptyTank2Btn = new System.Windows.Forms.Button();
this.testGroupBox = new System.Windows.Forms.GroupBox();
this.acceptResultsBtn = new System.Windows.Forms.Button();
this.startQ3Btn = new System.Windows.Forms.Button();
this.startQ2Btn = new System.Windows.Forms.Button();
this.startQ1Btn = new System.Windows.Forms.Button();
@@ -52,10 +53,9 @@ namespace TBF.UiControls
this.emptyGroupBox = new System.Windows.Forms.GroupBox();
this.emptyTank3Btn = new System.Windows.Forms.Button();
this.otherGroupBox = new System.Windows.Forms.GroupBox();
this.customButton = new System.Windows.Forms.Button();
this.nextButton = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.acceptResultsBtn = new System.Windows.Forms.Button();
this.customButton = new System.Windows.Forms.Button();
this.testGroupBox.SuspendLayout();
this.purgeGroupBox.SuspendLayout();
this.emptyGroupBox.SuspendLayout();
@@ -65,125 +65,149 @@ namespace TBF.UiControls
//
// stopBtn
//
this.stopBtn.BackColor = System.Drawing.Color.Tomato;
resources.ApplyResources(this.stopBtn, "stopBtn");
this.stopBtn.BackColor = System.Drawing.Color.Tomato;
this.stopBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.stopBtn.Name = "stopBtn";
this.stopBtn.UseVisualStyleBackColor = false;
this.stopBtn.Click += new System.EventHandler(this.stopBtn_Click);
//
// startTestBtn
//
this.startTestBtn.BackColor = System.Drawing.Color.DarkSeaGreen;
resources.ApplyResources(this.startTestBtn, "startTestBtn");
this.startTestBtn.BackColor = System.Drawing.Color.DarkSeaGreen;
this.startTestBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.startTestBtn.Name = "startTestBtn";
this.startTestBtn.UseVisualStyleBackColor = false;
this.startTestBtn.Click += new System.EventHandler(this.startTestBtn_Click);
//
// startCycleBtn
//
this.startCycleBtn.BackColor = System.Drawing.Color.LightSeaGreen;
resources.ApplyResources(this.startCycleBtn, "startCycleBtn");
this.startCycleBtn.BackColor = System.Drawing.Color.SteelBlue;
this.startCycleBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.startCycleBtn.Name = "startCycleBtn";
this.startCycleBtn.UseVisualStyleBackColor = false;
this.startCycleBtn.Click += new System.EventHandler(this.startCycleBtn_Click);
//
// purgeBeginBtn
//
this.purgeBeginBtn.BackColor = System.Drawing.Color.LightSteelBlue;
resources.ApplyResources(this.purgeBeginBtn, "purgeBeginBtn");
this.purgeBeginBtn.BackColor = System.Drawing.Color.LightSteelBlue;
this.purgeBeginBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.purgeBeginBtn.Name = "purgeBeginBtn";
this.purgeBeginBtn.UseVisualStyleBackColor = false;
this.purgeBeginBtn.Click += new System.EventHandler(this.purgeBeginBtn_Click);
//
// purgeEndBtn
//
this.purgeEndBtn.BackColor = System.Drawing.Color.LightSteelBlue;
resources.ApplyResources(this.purgeEndBtn, "purgeEndBtn");
this.purgeEndBtn.BackColor = System.Drawing.Color.LightSteelBlue;
this.purgeEndBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.purgeEndBtn.Name = "purgeEndBtn";
this.purgeEndBtn.UseVisualStyleBackColor = false;
this.purgeEndBtn.Click += new System.EventHandler(this.purgeEndBtn_Click);
//
// breakBtn
//
this.breakBtn.BackColor = System.Drawing.Color.DarkGray;
resources.ApplyResources(this.breakBtn, "breakBtn");
this.breakBtn.BackColor = System.Drawing.Color.DarkGray;
this.breakBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.breakBtn.Name = "breakBtn";
this.breakBtn.UseVisualStyleBackColor = false;
this.breakBtn.Click += new System.EventHandler(this.breakBtn_Click);
//
// resetResultsBtn
//
this.resetResultsBtn.BackColor = System.Drawing.Color.Tomato;
resources.ApplyResources(this.resetResultsBtn, "resetResultsBtn");
this.resetResultsBtn.BackColor = System.Drawing.Color.Tomato;
this.resetResultsBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.resetResultsBtn.Name = "resetResultsBtn";
this.resetResultsBtn.UseVisualStyleBackColor = false;
this.resetResultsBtn.Click += new System.EventHandler(this.resetResultsBtn_Click);
//
// cameraTestBtn
//
this.cameraTestBtn.BackColor = System.Drawing.Color.DarkGray;
resources.ApplyResources(this.cameraTestBtn, "cameraTestBtn");
this.cameraTestBtn.BackColor = System.Drawing.Color.DarkGray;
this.cameraTestBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.cameraTestBtn.Name = "cameraTestBtn";
this.cameraTestBtn.UseVisualStyleBackColor = false;
this.cameraTestBtn.Click += new System.EventHandler(this.cameraTestBtn_Click);
//
// emptyTank1Btn
//
this.emptyTank1Btn.BackColor = System.Drawing.Color.LightSteelBlue;
resources.ApplyResources(this.emptyTank1Btn, "emptyTank1Btn");
this.emptyTank1Btn.BackColor = System.Drawing.Color.LightSteelBlue;
this.emptyTank1Btn.ImageKey = global::TBF.Resources.Strings.Camera;
this.emptyTank1Btn.Name = "emptyTank1Btn";
this.emptyTank1Btn.UseVisualStyleBackColor = false;
this.emptyTank1Btn.Click += new System.EventHandler(this.emptyTank1Btn_Click);
//
// sensitivityTestBtn
//
this.sensitivityTestBtn.BackColor = System.Drawing.Color.DarkGray;
resources.ApplyResources(this.sensitivityTestBtn, "sensitivityTestBtn");
this.sensitivityTestBtn.BackColor = System.Drawing.Color.DarkGray;
this.sensitivityTestBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.sensitivityTestBtn.Name = "sensitivityTestBtn";
this.sensitivityTestBtn.UseVisualStyleBackColor = false;
this.sensitivityTestBtn.Click += new System.EventHandler(this.sensitivityTestBtn_Click);
//
// emptyTank2Btn
//
this.emptyTank2Btn.BackColor = System.Drawing.Color.LightSteelBlue;
resources.ApplyResources(this.emptyTank2Btn, "emptyTank2Btn");
this.emptyTank2Btn.BackColor = System.Drawing.Color.LightSteelBlue;
this.emptyTank2Btn.ImageKey = global::TBF.Resources.Strings.Camera;
this.emptyTank2Btn.Name = "emptyTank2Btn";
this.emptyTank2Btn.UseVisualStyleBackColor = false;
this.emptyTank2Btn.Click += new System.EventHandler(this.emptyTank2Btn_Click);
//
// testGroupBox
//
resources.ApplyResources(this.testGroupBox, "testGroupBox");
this.testGroupBox.Controls.Add(this.acceptResultsBtn);
this.testGroupBox.Controls.Add(this.startQ3Btn);
this.testGroupBox.Controls.Add(this.startQ2Btn);
this.testGroupBox.Controls.Add(this.startQ1Btn);
this.testGroupBox.Controls.Add(this.breakBtn);
this.testGroupBox.Controls.Add(this.testComboBox);
this.testGroupBox.Controls.Add(this.startTestBtn);
this.testGroupBox.Controls.Add(this.startCycleBtn);
this.testGroupBox.Controls.Add(this.stopBtn);
resources.ApplyResources(this.testGroupBox, "testGroupBox");
this.testGroupBox.Name = "testGroupBox";
this.testGroupBox.TabStop = false;
//
// acceptResultsBtn
//
resources.ApplyResources(this.acceptResultsBtn, "acceptResultsBtn");
this.acceptResultsBtn.BackColor = System.Drawing.Color.DarkKhaki;
this.acceptResultsBtn.ImageKey = global::TBF.Resources.Strings.Camera;
this.acceptResultsBtn.Name = "acceptResultsBtn";
this.acceptResultsBtn.UseVisualStyleBackColor = false;
this.acceptResultsBtn.Click += new System.EventHandler(this.acceptResultsBtn_Click);
//
// startQ3Btn
//
this.startQ3Btn.BackColor = System.Drawing.Color.DarkSeaGreen;
resources.ApplyResources(this.startQ3Btn, "startQ3Btn");
this.startQ3Btn.BackColor = System.Drawing.Color.DarkSeaGreen;
this.startQ3Btn.ImageKey = global::TBF.Resources.Strings.Camera;
this.startQ3Btn.Name = "startQ3Btn";
this.startQ3Btn.UseVisualStyleBackColor = false;
this.startQ3Btn.Click += new System.EventHandler(this.startQ3Btn_Click);
//
// startQ2Btn
//
this.startQ2Btn.BackColor = System.Drawing.Color.DarkSeaGreen;
resources.ApplyResources(this.startQ2Btn, "startQ2Btn");
this.startQ2Btn.BackColor = System.Drawing.Color.DarkSeaGreen;
this.startQ2Btn.ImageKey = global::TBF.Resources.Strings.Camera;
this.startQ2Btn.Name = "startQ2Btn";
this.startQ2Btn.UseVisualStyleBackColor = false;
this.startQ2Btn.Click += new System.EventHandler(this.startQ2Btn_Click);
//
// startQ1Btn
//
this.startQ1Btn.BackColor = System.Drawing.Color.DarkSeaGreen;
resources.ApplyResources(this.startQ1Btn, "startQ1Btn");
this.startQ1Btn.BackColor = System.Drawing.Color.DarkSeaGreen;
this.startQ1Btn.ImageKey = global::TBF.Resources.Strings.Camera;
this.startQ1Btn.Name = "startQ1Btn";
this.startQ1Btn.UseVisualStyleBackColor = false;
this.startQ1Btn.Click += new System.EventHandler(this.startQ1Btn_Click);
@@ -197,71 +221,64 @@ namespace TBF.UiControls
//
// purgeGroupBox
//
resources.ApplyResources(this.purgeGroupBox, "purgeGroupBox");
this.purgeGroupBox.BackColor = System.Drawing.SystemColors.Control;
this.purgeGroupBox.Controls.Add(this.purgeEndBtn);
this.purgeGroupBox.Controls.Add(this.purgeBeginBtn);
resources.ApplyResources(this.purgeGroupBox, "purgeGroupBox");
this.purgeGroupBox.Name = "purgeGroupBox";
this.purgeGroupBox.TabStop = false;
//
// emptyGroupBox
//
resources.ApplyResources(this.emptyGroupBox, "emptyGroupBox");
this.emptyGroupBox.Controls.Add(this.emptyTank3Btn);
this.emptyGroupBox.Controls.Add(this.emptyTank1Btn);
this.emptyGroupBox.Controls.Add(this.emptyTank2Btn);
resources.ApplyResources(this.emptyGroupBox, "emptyGroupBox");
this.emptyGroupBox.Name = "emptyGroupBox";
this.emptyGroupBox.TabStop = false;
//
// emptyTank3Btn
//
this.emptyTank3Btn.BackColor = System.Drawing.Color.LightSteelBlue;
resources.ApplyResources(this.emptyTank3Btn, "emptyTank3Btn");
this.emptyTank3Btn.BackColor = System.Drawing.Color.LightSteelBlue;
this.emptyTank3Btn.ImageKey = global::TBF.Resources.Strings.Camera;
this.emptyTank3Btn.Name = "emptyTank3Btn";
this.emptyTank3Btn.UseVisualStyleBackColor = false;
this.emptyTank3Btn.Click += new System.EventHandler(this.emptyTank3Btn_Click);
//
// otherGroupBox
//
resources.ApplyResources(this.otherGroupBox, "otherGroupBox");
this.otherGroupBox.Controls.Add(this.customButton);
this.otherGroupBox.Controls.Add(this.sensitivityTestBtn);
this.otherGroupBox.Controls.Add(this.nextButton);
this.otherGroupBox.Controls.Add(this.cameraTestBtn);
this.otherGroupBox.Controls.Add(this.breakBtn);
resources.ApplyResources(this.otherGroupBox, "otherGroupBox");
this.otherGroupBox.Name = "otherGroupBox";
this.otherGroupBox.TabStop = false;
//
// customButton
//
resources.ApplyResources(this.customButton, "customButton");
this.customButton.ImageKey = global::TBF.Resources.Strings.Camera;
this.customButton.Name = "customButton";
this.customButton.UseVisualStyleBackColor = true;
this.customButton.Click += new System.EventHandler(this.customButton_Click);
//
// nextButton
//
resources.ApplyResources(this.nextButton, "nextButton");
this.nextButton.ImageKey = global::TBF.Resources.Strings.Camera;
this.nextButton.Name = "nextButton";
this.nextButton.UseVisualStyleBackColor = true;
this.nextButton.Click += new System.EventHandler(this.nextButton_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.acceptResultsBtn);
this.groupBox1.Controls.Add(this.resetResultsBtn);
resources.ApplyResources(this.groupBox1, "groupBox1");
this.groupBox1.Controls.Add(this.resetResultsBtn);
this.groupBox1.Name = "groupBox1";
this.groupBox1.TabStop = false;
//
// acceptResultsBtn
//
this.acceptResultsBtn.BackColor = System.Drawing.Color.ForestGreen;
resources.ApplyResources(this.acceptResultsBtn, "acceptResultsBtn");
this.acceptResultsBtn.Name = "acceptResultsBtn";
this.acceptResultsBtn.UseVisualStyleBackColor = false;
this.acceptResultsBtn.Click += new System.EventHandler(this.acceptResultsBtn_Click);
//
// customButton
//
resources.ApplyResources(this.customButton, "customButton");
this.customButton.Name = "customButton";
this.customButton.UseVisualStyleBackColor = true;
this.customButton.Click += new System.EventHandler(this.customButton_Click);
//
// BenchControlPanel
//
resources.ApplyResources(this, "$this");
@@ -272,6 +289,7 @@ namespace TBF.UiControls
this.Controls.Add(this.emptyGroupBox);
this.Controls.Add(this.purgeGroupBox);
this.Controls.Add(this.testGroupBox);
this.Controls.Add(this.stopBtn);
this.Name = "BenchControlPanel";
this.Load += new System.EventHandler(this.BenchControlPanel_Load);
this.testGroupBox.ResumeLayout(false);