DataEntry.Standard24.TestStartEndForm under construction.

This commit is contained in:
Milan Hanajik
2015-05-20 17:03:49 +02:00
parent 3701731de8
commit ca4a205fd4
2 changed files with 320 additions and 334 deletions
@@ -89,54 +89,54 @@ namespace TBF.BenchControl.DataEntry.Standard24
Height = 115 + 90 * WaterMetersCount;
if (WaterMetersCount < 1) groupBox1.Visible = false;
if (WaterMetersCount < 2) groupBox2.Visible = false;
if (WaterMetersCount < 3) groupBox3.Visible = false;
if (WaterMetersCount < 4) groupBox4.Visible = false;
if (WaterMetersCount < 5) groupBox5.Visible = false;
if (WaterMetersCount < 6) groupBox6.Visible = false;
if (WaterMetersCount < 1) { label1.Visible = startTextBox1.Visible = endTextBox1.Visible = false; }
if (WaterMetersCount < 2) { label2.Visible = startTextBox2.Visible = endTextBox2.Visible = false; }
if (WaterMetersCount < 3) { label3.Visible = startTextBox3.Visible = endTextBox3.Visible = false; }
if (WaterMetersCount < 4) { label4.Visible = startTextBox4.Visible = endTextBox4.Visible = false; }
if (WaterMetersCount < 5) { label5.Visible = startTextBox5.Visible = endTextBox5.Visible = false; }
if (WaterMetersCount < 6) { label6.Visible = startTextBox6.Visible = endTextBox6.Visible = false; }
if (endStates)
{
if (WaterMetersCount >= 1) wmStartStateTextBox1.Text = WMStartStateStr[0];
if (WaterMetersCount >= 2) wmStartStateTextBox2.Text = WMStartStateStr[1];
if (WaterMetersCount >= 3) wmStartStateTextBox3.Text = WMStartStateStr[2];
if (WaterMetersCount >= 4) wmStartStateTextBox4.Text = WMStartStateStr[3];
if (WaterMetersCount >= 5) wmStartStateTextBox5.Text = WMStartStateStr[4];
if (WaterMetersCount >= 6) wmStartStateTextBox6.Text = WMStartStateStr[5];
wmEndStateTextBox1.Enabled = (disabled == null || disabled.Length < 1 || !disabled[0]);
wmEndStateTextBox2.Enabled = (disabled == null || disabled.Length < 2 || !disabled[1]);
wmEndStateTextBox3.Enabled = (disabled == null || disabled.Length < 3 || !disabled[2]);
wmEndStateTextBox4.Enabled = (disabled == null || disabled.Length < 4 || !disabled[3]);
wmEndStateTextBox5.Enabled = (disabled == null || disabled.Length < 5 || !disabled[4]);
wmEndStateTextBox6.Enabled = (disabled == null || disabled.Length < 6 || !disabled[5]);
if (WaterMetersCount >= 1) startTextBox1.Text = WMStartStateStr[0];
if (WaterMetersCount >= 2) startTextBox2.Text = WMStartStateStr[1];
if (WaterMetersCount >= 3) startTextBox3.Text = WMStartStateStr[2];
if (WaterMetersCount >= 4) startTextBox4.Text = WMStartStateStr[3];
if (WaterMetersCount >= 5) startTextBox5.Text = WMStartStateStr[4];
if (WaterMetersCount >= 6) startTextBox6.Text = WMStartStateStr[5];
endTextBox1.Enabled = (disabled == null || disabled.Length < 1 || !disabled[0]);
endTextBox2.Enabled = (disabled == null || disabled.Length < 2 || !disabled[1]);
endTextBox3.Enabled = (disabled == null || disabled.Length < 3 || !disabled[2]);
endTextBox4.Enabled = (disabled == null || disabled.Length < 4 || !disabled[3]);
endTextBox5.Enabled = (disabled == null || disabled.Length < 5 || !disabled[4]);
endTextBox6.Enabled = (disabled == null || disabled.Length < 6 || !disabled[5]);
}
else
{
wmStartStateTextBox1.Enabled = (disabled == null || disabled.Length < 1 || !disabled[0]);
wmStartStateTextBox2.Enabled = (disabled == null || disabled.Length < 2 || !disabled[1]);
wmStartStateTextBox3.Enabled = (disabled == null || disabled.Length < 3 || !disabled[2]);
wmStartStateTextBox4.Enabled = (disabled == null || disabled.Length < 4 || !disabled[3]);
wmStartStateTextBox5.Enabled = (disabled == null || disabled.Length < 5 || !disabled[4]);
wmStartStateTextBox6.Enabled = (disabled == null || disabled.Length < 6 || !disabled[5]);
startTextBox1.Enabled = (disabled == null || disabled.Length < 1 || !disabled[0]);
startTextBox2.Enabled = (disabled == null || disabled.Length < 2 || !disabled[1]);
startTextBox3.Enabled = (disabled == null || disabled.Length < 3 || !disabled[2]);
startTextBox4.Enabled = (disabled == null || disabled.Length < 4 || !disabled[3]);
startTextBox5.Enabled = (disabled == null || disabled.Length < 5 || !disabled[4]);
startTextBox6.Enabled = (disabled == null || disabled.Length < 6 || !disabled[5]);
}
}
void Localize()
{
Text = Strings.Water_Meter_States;
groupBox1.Text = Strings.Water_Meter + " 1";
label1.Text = Strings.Water_Meter + " 1";
groupBox2.Text = Strings.Water_Meter + " 2";
groupBox3.Text = Strings.Water_Meter + " 3";
groupBox4.Text = Strings.Water_Meter + " 4";
groupBox5.Text = Strings.Water_Meter + " 5";
groupBox6.Text = Strings.Water_Meter + " 6";
wmStateLabel1.Text = Strings.WMState;
wmStateLabel2.Text = Strings.WMState;
wmStateLabel3.Text = Strings.WMState;
wmStateLabel4.Text = Strings.WMState;
wmStateLabel5.Text = Strings.WMState;
wmStateLabel6.Text = Strings.WMState;
label1.Text = Strings.WMState;
label2.Text = Strings.WMState;
label3.Text = Strings.WMState;
label4.Text = Strings.WMState;
label5.Text = Strings.WMState;
label6.Text = Strings.WMState;
startLabel.Text = Strings.Start;
endLabel.Text = Strings.End;
okButton.Text = Strings.OkBtnText;
@@ -148,44 +148,44 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (endStates)
{
if (wmEndStateTextBox1.Enabled) WMEndState[0] = Utils.ParseUFloat(wmEndStateTextBox1.Text);
if (wmEndStateTextBox2.Enabled) WMEndState[1] = Utils.ParseUFloat(wmEndStateTextBox2.Text);
if (wmEndStateTextBox3.Enabled) WMEndState[2] = Utils.ParseUFloat(wmEndStateTextBox3.Text);
if (wmEndStateTextBox4.Enabled) WMEndState[3] = Utils.ParseUFloat(wmEndStateTextBox4.Text);
if (wmEndStateTextBox5.Enabled) WMEndState[4] = Utils.ParseUFloat(wmEndStateTextBox5.Text);
if (wmEndStateTextBox6.Enabled) WMEndState[5] = Utils.ParseUFloat(wmEndStateTextBox6.Text);
if (endTextBox1.Enabled) WMEndState[0] = Utils.ParseUFloat(endTextBox1.Text);
if (endTextBox2.Enabled) WMEndState[1] = Utils.ParseUFloat(endTextBox2.Text);
if (endTextBox3.Enabled) WMEndState[2] = Utils.ParseUFloat(endTextBox3.Text);
if (endTextBox4.Enabled) WMEndState[3] = Utils.ParseUFloat(endTextBox4.Text);
if (endTextBox5.Enabled) WMEndState[4] = Utils.ParseUFloat(endTextBox5.Text);
if (endTextBox6.Enabled) WMEndState[5] = Utils.ParseUFloat(endTextBox6.Text);
}
else
{
if (wmStartStateTextBox1.Enabled)
if (startTextBox1.Enabled)
{
WMStartStateStr[0] = wmStartStateTextBox1.Text;
WMStartState[0] = Utils.ParseUFloat(wmStartStateTextBox1.Text);
WMStartStateStr[0] = startTextBox1.Text;
WMStartState[0] = Utils.ParseUFloat(startTextBox1.Text);
}
if (wmStartStateTextBox2.Enabled)
if (startTextBox2.Enabled)
{
WMStartStateStr[1] = wmStartStateTextBox2.Text;
WMStartState[1] = Utils.ParseUFloat(wmStartStateTextBox2.Text);
WMStartStateStr[1] = startTextBox2.Text;
WMStartState[1] = Utils.ParseUFloat(startTextBox2.Text);
}
if (wmStartStateTextBox3.Enabled)
if (startTextBox3.Enabled)
{
WMStartStateStr[2] = wmStartStateTextBox3.Text;
WMStartState[2] = Utils.ParseUFloat(wmStartStateTextBox3.Text);
WMStartStateStr[2] = startTextBox3.Text;
WMStartState[2] = Utils.ParseUFloat(startTextBox3.Text);
}
if (wmStartStateTextBox4.Enabled)
if (startTextBox4.Enabled)
{
WMStartStateStr[3] = wmStartStateTextBox4.Text;
WMStartState[3] = Utils.ParseUFloat(wmStartStateTextBox4.Text);
WMStartStateStr[3] = startTextBox4.Text;
WMStartState[3] = Utils.ParseUFloat(startTextBox4.Text);
}
if (wmStartStateTextBox5.Enabled)
if (startTextBox5.Enabled)
{
WMStartStateStr[4] = wmStartStateTextBox5.Text;
WMStartState[4] = Utils.ParseUFloat(wmStartStateTextBox5.Text);
WMStartStateStr[4] = startTextBox5.Text;
WMStartState[4] = Utils.ParseUFloat(startTextBox5.Text);
}
if (wmStartStateTextBox6.Enabled)
if (startTextBox6.Enabled)
{
WMStartStateStr[5] = wmStartStateTextBox6.Text;
WMStartState[5] = Utils.ParseUFloat(wmStartStateTextBox6.Text);
WMStartStateStr[5] = startTextBox6.Text;
WMStartState[5] = Utils.ParseUFloat(startTextBox6.Text);
}
}
}
@@ -222,8 +222,8 @@ namespace TBF.BenchControl.DataEntry.Standard24
float err = 0;
try
{
float endState = Utils.ParseUFloat(wmEndStateTextBox1.Text);
float startState = Utils.ParseUFloat(wmStartStateTextBox1.Text);
float endState = Utils.ParseUFloat(endTextBox1.Text);
float startState = Utils.ParseUFloat(startTextBox1.Text);
err = 100.0f * (endState - startState - refVolume) / refVolume;
}
catch { };
@@ -236,8 +236,8 @@ namespace TBF.BenchControl.DataEntry.Standard24
float err = 0;
try
{
float endState = Utils.ParseUFloat(wmEndStateTextBox2.Text);
float startState = Utils.ParseUFloat(wmStartStateTextBox2.Text);
float endState = Utils.ParseUFloat(endTextBox2.Text);
float startState = Utils.ParseUFloat(startTextBox2.Text);
err = 100.0f * (endState - startState - refVolume) / refVolume;
}
catch { err = 1000.0f; };
@@ -250,8 +250,8 @@ namespace TBF.BenchControl.DataEntry.Standard24
float err = 0;
try
{
float endState = Utils.ParseUFloat(wmEndStateTextBox3.Text);
float startState = Utils.ParseUFloat(wmStartStateTextBox3.Text);
float endState = Utils.ParseUFloat(endTextBox3.Text);
float startState = Utils.ParseUFloat(startTextBox3.Text);
err = 100.0f * (endState - startState - refVolume) / refVolume;
}
catch { err = 1000.0f; };
@@ -264,8 +264,8 @@ namespace TBF.BenchControl.DataEntry.Standard24
float err = 0;
try
{
float endState = Utils.ParseUFloat(wmEndStateTextBox4.Text);
float startState = Utils.ParseUFloat(wmStartStateTextBox4.Text);
float endState = Utils.ParseUFloat(endTextBox4.Text);
float startState = Utils.ParseUFloat(startTextBox4.Text);
err = 100.0f * (endState - startState - refVolume) / refVolume;
}
catch { err = 1000.0f; };
@@ -278,8 +278,8 @@ namespace TBF.BenchControl.DataEntry.Standard24
float err = 0;
try
{
float endState = Utils.ParseUFloat(wmEndStateTextBox5.Text);
float startState = Utils.ParseUFloat(wmStartStateTextBox5.Text);
float endState = Utils.ParseUFloat(endTextBox5.Text);
float startState = Utils.ParseUFloat(startTextBox5.Text);
err = 100.0f * (endState - startState - refVolume) / refVolume;
}
catch { err = 1000.0f; };
@@ -292,8 +292,8 @@ namespace TBF.BenchControl.DataEntry.Standard24
float err = 0;
try
{
float endState = Utils.ParseUFloat(wmEndStateTextBox6.Text);
float startState = Utils.ParseUFloat(wmStartStateTextBox6.Text);
float endState = Utils.ParseUFloat(endTextBox6.Text);
float startState = Utils.ParseUFloat(startTextBox6.Text);
err = 100.0f * (endState - startState - refVolume) / refVolume;
}
catch { err = 1000.0f; };
@@ -305,11 +305,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmStartStateTextBox2.Enabled) wmStartStateTextBox2.Focus();
else if (wmStartStateTextBox3.Enabled) wmStartStateTextBox3.Focus();
else if (wmStartStateTextBox4.Enabled) wmStartStateTextBox4.Focus();
else if (wmStartStateTextBox5.Enabled) wmStartStateTextBox5.Focus();
else if (wmStartStateTextBox6.Enabled) wmStartStateTextBox6.Focus();
if (startTextBox2.Enabled) startTextBox2.Focus();
else if (startTextBox3.Enabled) startTextBox3.Focus();
else if (startTextBox4.Enabled) startTextBox4.Focus();
else if (startTextBox5.Enabled) startTextBox5.Focus();
else if (startTextBox6.Enabled) startTextBox6.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -318,11 +318,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmStartStateTextBox3.Enabled) wmStartStateTextBox3.Focus();
else if (wmStartStateTextBox4.Enabled) wmStartStateTextBox4.Focus();
else if (wmStartStateTextBox5.Enabled) wmStartStateTextBox5.Focus();
else if (wmStartStateTextBox6.Enabled) wmStartStateTextBox6.Focus();
else if (wmStartStateTextBox1.Enabled) wmStartStateTextBox1.Focus();
if (startTextBox3.Enabled) startTextBox3.Focus();
else if (startTextBox4.Enabled) startTextBox4.Focus();
else if (startTextBox5.Enabled) startTextBox5.Focus();
else if (startTextBox6.Enabled) startTextBox6.Focus();
else if (startTextBox1.Enabled) startTextBox1.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -331,11 +331,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmStartStateTextBox4.Enabled) wmStartStateTextBox4.Focus();
else if (wmStartStateTextBox5.Enabled) wmStartStateTextBox5.Focus();
else if (wmStartStateTextBox6.Enabled) wmStartStateTextBox6.Focus();
else if (wmStartStateTextBox1.Enabled) wmStartStateTextBox1.Focus();
else if (wmStartStateTextBox2.Enabled) wmStartStateTextBox2.Focus();
if (startTextBox4.Enabled) startTextBox4.Focus();
else if (startTextBox5.Enabled) startTextBox5.Focus();
else if (startTextBox6.Enabled) startTextBox6.Focus();
else if (startTextBox1.Enabled) startTextBox1.Focus();
else if (startTextBox2.Enabled) startTextBox2.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -344,11 +344,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmStartStateTextBox5.Enabled) wmStartStateTextBox5.Focus();
else if (wmStartStateTextBox6.Enabled) wmStartStateTextBox6.Focus();
else if (wmStartStateTextBox1.Enabled) wmStartStateTextBox1.Focus();
else if (wmStartStateTextBox2.Enabled) wmStartStateTextBox2.Focus();
else if (wmStartStateTextBox3.Enabled) wmStartStateTextBox3.Focus();
if (startTextBox5.Enabled) startTextBox5.Focus();
else if (startTextBox6.Enabled) startTextBox6.Focus();
else if (startTextBox1.Enabled) startTextBox1.Focus();
else if (startTextBox2.Enabled) startTextBox2.Focus();
else if (startTextBox3.Enabled) startTextBox3.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -357,11 +357,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmStartStateTextBox6.Enabled) wmStartStateTextBox6.Focus();
else if (wmStartStateTextBox1.Enabled) wmStartStateTextBox1.Focus();
else if (wmStartStateTextBox2.Enabled) wmStartStateTextBox2.Focus();
else if (wmStartStateTextBox3.Enabled) wmStartStateTextBox3.Focus();
else if (wmStartStateTextBox4.Enabled) wmStartStateTextBox4.Focus();
if (startTextBox6.Enabled) startTextBox6.Focus();
else if (startTextBox1.Enabled) startTextBox1.Focus();
else if (startTextBox2.Enabled) startTextBox2.Focus();
else if (startTextBox3.Enabled) startTextBox3.Focus();
else if (startTextBox4.Enabled) startTextBox4.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -370,11 +370,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmStartStateTextBox1.Enabled) wmStartStateTextBox1.Focus();
else if (wmStartStateTextBox1.Enabled) wmStartStateTextBox1.Focus();
else if (wmStartStateTextBox3.Enabled) wmStartStateTextBox3.Focus();
else if (wmStartStateTextBox4.Enabled) wmStartStateTextBox4.Focus();
else if (wmStartStateTextBox5.Enabled) wmStartStateTextBox5.Focus();
if (startTextBox1.Enabled) startTextBox1.Focus();
else if (startTextBox1.Enabled) startTextBox1.Focus();
else if (startTextBox3.Enabled) startTextBox3.Focus();
else if (startTextBox4.Enabled) startTextBox4.Focus();
else if (startTextBox5.Enabled) startTextBox5.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -383,11 +383,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmEndStateTextBox2.Enabled) wmEndStateTextBox2.Focus();
else if (wmEndStateTextBox3.Enabled) wmEndStateTextBox3.Focus();
else if (wmEndStateTextBox4.Enabled) wmEndStateTextBox4.Focus();
else if (wmEndStateTextBox5.Enabled) wmEndStateTextBox5.Focus();
else if (wmEndStateTextBox6.Enabled) wmEndStateTextBox6.Focus();
if (endTextBox2.Enabled) endTextBox2.Focus();
else if (endTextBox3.Enabled) endTextBox3.Focus();
else if (endTextBox4.Enabled) endTextBox4.Focus();
else if (endTextBox5.Enabled) endTextBox5.Focus();
else if (endTextBox6.Enabled) endTextBox6.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -396,11 +396,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmEndStateTextBox3.Enabled) wmEndStateTextBox3.Focus();
else if (wmEndStateTextBox4.Enabled) wmEndStateTextBox4.Focus();
else if (wmEndStateTextBox5.Enabled) wmEndStateTextBox5.Focus();
else if (wmEndStateTextBox6.Enabled) wmEndStateTextBox6.Focus();
else if (wmEndStateTextBox1.Enabled) wmEndStateTextBox1.Focus();
if (endTextBox3.Enabled) endTextBox3.Focus();
else if (endTextBox4.Enabled) endTextBox4.Focus();
else if (endTextBox5.Enabled) endTextBox5.Focus();
else if (endTextBox6.Enabled) endTextBox6.Focus();
else if (endTextBox1.Enabled) endTextBox1.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -409,11 +409,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmEndStateTextBox4.Enabled) wmEndStateTextBox4.Focus();
else if (wmEndStateTextBox5.Enabled) wmEndStateTextBox5.Focus();
else if (wmEndStateTextBox6.Enabled) wmEndStateTextBox6.Focus();
else if (wmEndStateTextBox1.Enabled) wmEndStateTextBox1.Focus();
else if (wmEndStateTextBox2.Enabled) wmEndStateTextBox2.Focus();
if (endTextBox4.Enabled) endTextBox4.Focus();
else if (endTextBox5.Enabled) endTextBox5.Focus();
else if (endTextBox6.Enabled) endTextBox6.Focus();
else if (endTextBox1.Enabled) endTextBox1.Focus();
else if (endTextBox2.Enabled) endTextBox2.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -422,11 +422,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmEndStateTextBox5.Enabled) wmEndStateTextBox5.Focus();
else if (wmEndStateTextBox6.Enabled) wmEndStateTextBox6.Focus();
else if (wmEndStateTextBox1.Enabled) wmEndStateTextBox1.Focus();
else if (wmEndStateTextBox2.Enabled) wmEndStateTextBox2.Focus();
else if (wmEndStateTextBox3.Enabled) wmEndStateTextBox3.Focus();
if (endTextBox5.Enabled) endTextBox5.Focus();
else if (endTextBox6.Enabled) endTextBox6.Focus();
else if (endTextBox1.Enabled) endTextBox1.Focus();
else if (endTextBox2.Enabled) endTextBox2.Focus();
else if (endTextBox3.Enabled) endTextBox3.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -435,11 +435,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmEndStateTextBox6.Enabled) wmEndStateTextBox6.Focus();
else if (wmEndStateTextBox1.Enabled) wmEndStateTextBox1.Focus();
else if (wmEndStateTextBox2.Enabled) wmEndStateTextBox2.Focus();
else if (wmEndStateTextBox3.Enabled) wmEndStateTextBox3.Focus();
else if (wmEndStateTextBox4.Enabled) wmEndStateTextBox4.Focus();
if (endTextBox6.Enabled) endTextBox6.Focus();
else if (endTextBox1.Enabled) endTextBox1.Focus();
else if (endTextBox2.Enabled) endTextBox2.Focus();
else if (endTextBox3.Enabled) endTextBox3.Focus();
else if (endTextBox4.Enabled) endTextBox4.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -448,11 +448,11 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
if (e.KeyChar == '\r')
{
if (wmEndStateTextBox1.Enabled) wmEndStateTextBox1.Focus();
else if (wmEndStateTextBox1.Enabled) wmEndStateTextBox1.Focus();
else if (wmEndStateTextBox3.Enabled) wmEndStateTextBox3.Focus();
else if (wmEndStateTextBox4.Enabled) wmEndStateTextBox4.Focus();
else if (wmEndStateTextBox5.Enabled) wmEndStateTextBox5.Focus();
if (endTextBox1.Enabled) endTextBox1.Focus();
else if (endTextBox1.Enabled) endTextBox1.Focus();
else if (endTextBox3.Enabled) endTextBox3.Focus();
else if (endTextBox4.Enabled) endTextBox4.Focus();
else if (endTextBox5.Enabled) endTextBox5.Focus();
}
else if (e.KeyChar == '+') okButton_Click(sender, e);
}
@@ -33,39 +33,37 @@ namespace TBF.BenchControl.DataEntry.Standard24
{
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.exclamation2 = new System.Windows.Forms.Label();
this.wmStartStateTextBox2 = new System.Windows.Forms.TextBox();
this.wmEndStateTextBox2 = new System.Windows.Forms.TextBox();
this.wmStateLabel2 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.startTextBox2 = new System.Windows.Forms.TextBox();
this.endTextBox2 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.exclamation1 = new System.Windows.Forms.Label();
this.wmStartStateTextBox1 = new System.Windows.Forms.TextBox();
this.wmEndStateTextBox1 = new System.Windows.Forms.TextBox();
this.wmStateLabel1 = new System.Windows.Forms.Label();
this.startTextBox1 = new System.Windows.Forms.TextBox();
this.endTextBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.okButton = new System.Windows.Forms.Button();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.exclamation3 = new System.Windows.Forms.Label();
this.wmStartStateTextBox3 = new System.Windows.Forms.TextBox();
this.wmEndStateTextBox3 = new System.Windows.Forms.TextBox();
this.wmStateLabel3 = new System.Windows.Forms.Label();
this.startTextBox3 = new System.Windows.Forms.TextBox();
this.endTextBox3 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.exclamation4 = new System.Windows.Forms.Label();
this.wmStartStateTextBox4 = new System.Windows.Forms.TextBox();
this.wmEndStateTextBox4 = new System.Windows.Forms.TextBox();
this.wmStateLabel4 = new System.Windows.Forms.Label();
this.startTextBox4 = new System.Windows.Forms.TextBox();
this.endTextBox4 = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.exclamation5 = new System.Windows.Forms.Label();
this.wmStartStateTextBox5 = new System.Windows.Forms.TextBox();
this.wmEndStateTextBox5 = new System.Windows.Forms.TextBox();
this.wmStateLabel5 = new System.Windows.Forms.Label();
this.startTextBox5 = new System.Windows.Forms.TextBox();
this.endTextBox5 = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.exclamation6 = new System.Windows.Forms.Label();
this.wmStartStateTextBox6 = new System.Windows.Forms.TextBox();
this.wmEndStateTextBox6 = new System.Windows.Forms.TextBox();
this.wmStateLabel6 = new System.Windows.Forms.Label();
this.startTextBox6 = new System.Windows.Forms.TextBox();
this.endTextBox6 = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.startLabel = new System.Windows.Forms.Label();
this.endLabel = new System.Windows.Forms.Label();
this.groupBox2.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
this.groupBox5.SuspendLayout();
@@ -75,9 +73,9 @@ namespace TBF.BenchControl.DataEntry.Standard24
// groupBox2
//
this.groupBox2.Controls.Add(this.exclamation2);
this.groupBox2.Controls.Add(this.wmStartStateTextBox2);
this.groupBox2.Controls.Add(this.wmEndStateTextBox2);
this.groupBox2.Controls.Add(this.wmStateLabel2);
this.groupBox2.Controls.Add(this.startTextBox2);
this.groupBox2.Controls.Add(this.endTextBox2);
this.groupBox2.Controls.Add(this.label2);
this.groupBox2.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.groupBox2.ForeColor = System.Drawing.Color.Black;
this.groupBox2.Location = new System.Drawing.Point(25, 122);
@@ -99,94 +97,82 @@ namespace TBF.BenchControl.DataEntry.Standard24
this.exclamation2.Text = "!";
this.exclamation2.Visible = false;
//
// wmStartStateTextBox2
// startTextBox2
//
this.wmStartStateTextBox2.Enabled = false;
this.wmStartStateTextBox2.Location = new System.Drawing.Point(164, 31);
this.wmStartStateTextBox2.Name = "wmStartStateTextBox2";
this.wmStartStateTextBox2.Size = new System.Drawing.Size(163, 31);
this.wmStartStateTextBox2.TabIndex = 3;
this.wmStartStateTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox2_KeyPress);
this.startTextBox2.Enabled = false;
this.startTextBox2.Location = new System.Drawing.Point(164, 31);
this.startTextBox2.Name = "startTextBox2";
this.startTextBox2.Size = new System.Drawing.Size(163, 31);
this.startTextBox2.TabIndex = 3;
this.startTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox2_KeyPress);
//
// wmEndStateTextBox2
// endTextBox2
//
this.wmEndStateTextBox2.Enabled = false;
this.wmEndStateTextBox2.Location = new System.Drawing.Point(350, 31);
this.wmEndStateTextBox2.Name = "wmEndStateTextBox2";
this.wmEndStateTextBox2.Size = new System.Drawing.Size(163, 31);
this.wmEndStateTextBox2.TabIndex = 1;
this.wmEndStateTextBox2.TextChanged += new System.EventHandler(this.wmEndStateTextBox2_TextChanged);
this.wmEndStateTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox2_KeyPress);
this.endTextBox2.Enabled = false;
this.endTextBox2.Location = new System.Drawing.Point(350, 31);
this.endTextBox2.Name = "endTextBox2";
this.endTextBox2.Size = new System.Drawing.Size(163, 31);
this.endTextBox2.TabIndex = 1;
this.endTextBox2.TextChanged += new System.EventHandler(this.wmEndStateTextBox2_TextChanged);
this.endTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox2_KeyPress);
//
// wmStateLabel2
// label2
//
this.wmStateLabel2.AutoSize = true;
this.wmStateLabel2.Location = new System.Drawing.Point(18, 34);
this.wmStateLabel2.Name = "wmStateLabel2";
this.wmStateLabel2.Size = new System.Drawing.Size(68, 23);
this.wmStateLabel2.TabIndex = 0;
this.wmStateLabel2.Text = "State:";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.exclamation1);
this.groupBox1.Controls.Add(this.wmStartStateTextBox1);
this.groupBox1.Controls.Add(this.wmEndStateTextBox1);
this.groupBox1.Controls.Add(this.wmStateLabel1);
this.groupBox1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.groupBox1.ForeColor = System.Drawing.Color.Black;
this.groupBox1.Location = new System.Drawing.Point(25, 32);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(547, 81);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Water Meter 1";
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(18, 34);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(68, 23);
this.label2.TabIndex = 0;
this.label2.Text = "State:";
//
// exclamation1
//
this.exclamation1.AutoSize = true;
this.exclamation1.Font = new System.Drawing.Font("Verdana", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.exclamation1.ForeColor = System.Drawing.Color.Red;
this.exclamation1.Location = new System.Drawing.Point(515, 27);
this.exclamation1.Location = new System.Drawing.Point(540, 51);
this.exclamation1.Name = "exclamation1";
this.exclamation1.Size = new System.Drawing.Size(30, 38);
this.exclamation1.TabIndex = 3;
this.exclamation1.Text = "!";
this.exclamation1.Visible = false;
//
// wmStartStateTextBox1
// startTextBox1
//
this.wmStartStateTextBox1.Enabled = false;
this.wmStartStateTextBox1.Location = new System.Drawing.Point(164, 31);
this.wmStartStateTextBox1.Name = "wmStartStateTextBox1";
this.wmStartStateTextBox1.Size = new System.Drawing.Size(163, 31);
this.wmStartStateTextBox1.TabIndex = 2;
this.wmStartStateTextBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox1_KeyPress);
this.startTextBox1.Enabled = false;
this.startTextBox1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.startTextBox1.Location = new System.Drawing.Point(193, 55);
this.startTextBox1.Name = "startTextBox1";
this.startTextBox1.Size = new System.Drawing.Size(163, 31);
this.startTextBox1.TabIndex = 2;
this.startTextBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox1_KeyPress);
//
// wmEndStateTextBox1
// endTextBox1
//
this.wmEndStateTextBox1.Enabled = false;
this.wmEndStateTextBox1.Location = new System.Drawing.Point(350, 31);
this.wmEndStateTextBox1.Name = "wmEndStateTextBox1";
this.wmEndStateTextBox1.Size = new System.Drawing.Size(163, 31);
this.wmEndStateTextBox1.TabIndex = 1;
this.wmEndStateTextBox1.TextChanged += new System.EventHandler(this.wmEndStateTextBox1_TextChanged);
this.wmEndStateTextBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox1_KeyPress);
this.endTextBox1.Enabled = false;
this.endTextBox1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.endTextBox1.Location = new System.Drawing.Point(375, 55);
this.endTextBox1.Name = "endTextBox1";
this.endTextBox1.Size = new System.Drawing.Size(163, 31);
this.endTextBox1.TabIndex = 1;
this.endTextBox1.TextChanged += new System.EventHandler(this.wmEndStateTextBox1_TextChanged);
this.endTextBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox1_KeyPress);
//
// wmStateLabel1
// label1
//
this.wmStateLabel1.AutoSize = true;
this.wmStateLabel1.Location = new System.Drawing.Point(18, 34);
this.wmStateLabel1.Name = "wmStateLabel1";
this.wmStateLabel1.Size = new System.Drawing.Size(68, 23);
this.wmStateLabel1.TabIndex = 0;
this.wmStateLabel1.Text = "State:";
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.label1.Location = new System.Drawing.Point(39, 58);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(145, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Water Meter 1";
//
// okButton
//
this.okButton.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.okButton.ForeColor = System.Drawing.Color.Black;
this.okButton.Location = new System.Drawing.Point(603, 46);
this.okButton.Location = new System.Drawing.Point(945, 12);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(98, 63);
this.okButton.TabIndex = 7;
@@ -197,9 +183,9 @@ namespace TBF.BenchControl.DataEntry.Standard24
// groupBox3
//
this.groupBox3.Controls.Add(this.exclamation3);
this.groupBox3.Controls.Add(this.wmStartStateTextBox3);
this.groupBox3.Controls.Add(this.wmEndStateTextBox3);
this.groupBox3.Controls.Add(this.wmStateLabel3);
this.groupBox3.Controls.Add(this.startTextBox3);
this.groupBox3.Controls.Add(this.endTextBox3);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.groupBox3.ForeColor = System.Drawing.Color.Black;
this.groupBox3.Location = new System.Drawing.Point(25, 212);
@@ -221,40 +207,40 @@ namespace TBF.BenchControl.DataEntry.Standard24
this.exclamation3.Text = "!";
this.exclamation3.Visible = false;
//
// wmStartStateTextBox3
// startTextBox3
//
this.wmStartStateTextBox3.Enabled = false;
this.wmStartStateTextBox3.Location = new System.Drawing.Point(164, 31);
this.wmStartStateTextBox3.Name = "wmStartStateTextBox3";
this.wmStartStateTextBox3.Size = new System.Drawing.Size(163, 31);
this.wmStartStateTextBox3.TabIndex = 4;
this.wmStartStateTextBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox3_KeyPress);
this.startTextBox3.Enabled = false;
this.startTextBox3.Location = new System.Drawing.Point(164, 31);
this.startTextBox3.Name = "startTextBox3";
this.startTextBox3.Size = new System.Drawing.Size(163, 31);
this.startTextBox3.TabIndex = 4;
this.startTextBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox3_KeyPress);
//
// wmEndStateTextBox3
// endTextBox3
//
this.wmEndStateTextBox3.Enabled = false;
this.wmEndStateTextBox3.Location = new System.Drawing.Point(350, 31);
this.wmEndStateTextBox3.Name = "wmEndStateTextBox3";
this.wmEndStateTextBox3.Size = new System.Drawing.Size(163, 31);
this.wmEndStateTextBox3.TabIndex = 1;
this.wmEndStateTextBox3.TextChanged += new System.EventHandler(this.wmEndStateTextBox3_TextChanged);
this.wmEndStateTextBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox3_KeyPress);
this.endTextBox3.Enabled = false;
this.endTextBox3.Location = new System.Drawing.Point(350, 31);
this.endTextBox3.Name = "endTextBox3";
this.endTextBox3.Size = new System.Drawing.Size(163, 31);
this.endTextBox3.TabIndex = 1;
this.endTextBox3.TextChanged += new System.EventHandler(this.wmEndStateTextBox3_TextChanged);
this.endTextBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox3_KeyPress);
//
// wmStateLabel3
// label3
//
this.wmStateLabel3.AutoSize = true;
this.wmStateLabel3.Location = new System.Drawing.Point(18, 34);
this.wmStateLabel3.Name = "wmStateLabel3";
this.wmStateLabel3.Size = new System.Drawing.Size(68, 23);
this.wmStateLabel3.TabIndex = 0;
this.wmStateLabel3.Text = "State:";
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(18, 34);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(68, 23);
this.label3.TabIndex = 0;
this.label3.Text = "State:";
//
// groupBox4
//
this.groupBox4.Controls.Add(this.exclamation4);
this.groupBox4.Controls.Add(this.wmStartStateTextBox4);
this.groupBox4.Controls.Add(this.wmEndStateTextBox4);
this.groupBox4.Controls.Add(this.wmStateLabel4);
this.groupBox4.Controls.Add(this.startTextBox4);
this.groupBox4.Controls.Add(this.endTextBox4);
this.groupBox4.Controls.Add(this.label4);
this.groupBox4.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.groupBox4.ForeColor = System.Drawing.Color.Black;
this.groupBox4.Location = new System.Drawing.Point(25, 302);
@@ -276,40 +262,40 @@ namespace TBF.BenchControl.DataEntry.Standard24
this.exclamation4.Text = "!";
this.exclamation4.Visible = false;
//
// wmStartStateTextBox4
// startTextBox4
//
this.wmStartStateTextBox4.Enabled = false;
this.wmStartStateTextBox4.Location = new System.Drawing.Point(164, 31);
this.wmStartStateTextBox4.Name = "wmStartStateTextBox4";
this.wmStartStateTextBox4.Size = new System.Drawing.Size(163, 31);
this.wmStartStateTextBox4.TabIndex = 4;
this.wmStartStateTextBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox4_KeyPress);
this.startTextBox4.Enabled = false;
this.startTextBox4.Location = new System.Drawing.Point(164, 31);
this.startTextBox4.Name = "startTextBox4";
this.startTextBox4.Size = new System.Drawing.Size(163, 31);
this.startTextBox4.TabIndex = 4;
this.startTextBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox4_KeyPress);
//
// wmEndStateTextBox4
// endTextBox4
//
this.wmEndStateTextBox4.Enabled = false;
this.wmEndStateTextBox4.Location = new System.Drawing.Point(350, 31);
this.wmEndStateTextBox4.Name = "wmEndStateTextBox4";
this.wmEndStateTextBox4.Size = new System.Drawing.Size(163, 31);
this.wmEndStateTextBox4.TabIndex = 1;
this.wmEndStateTextBox4.TextChanged += new System.EventHandler(this.wmEndStateTextBox4_TextChanged);
this.wmEndStateTextBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox4_KeyPress);
this.endTextBox4.Enabled = false;
this.endTextBox4.Location = new System.Drawing.Point(350, 31);
this.endTextBox4.Name = "endTextBox4";
this.endTextBox4.Size = new System.Drawing.Size(163, 31);
this.endTextBox4.TabIndex = 1;
this.endTextBox4.TextChanged += new System.EventHandler(this.wmEndStateTextBox4_TextChanged);
this.endTextBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox4_KeyPress);
//
// wmStateLabel4
// label4
//
this.wmStateLabel4.AutoSize = true;
this.wmStateLabel4.Location = new System.Drawing.Point(18, 34);
this.wmStateLabel4.Name = "wmStateLabel4";
this.wmStateLabel4.Size = new System.Drawing.Size(68, 23);
this.wmStateLabel4.TabIndex = 0;
this.wmStateLabel4.Text = "State:";
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(18, 34);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(68, 23);
this.label4.TabIndex = 0;
this.label4.Text = "State:";
//
// groupBox5
//
this.groupBox5.Controls.Add(this.exclamation5);
this.groupBox5.Controls.Add(this.wmStartStateTextBox5);
this.groupBox5.Controls.Add(this.wmEndStateTextBox5);
this.groupBox5.Controls.Add(this.wmStateLabel5);
this.groupBox5.Controls.Add(this.startTextBox5);
this.groupBox5.Controls.Add(this.endTextBox5);
this.groupBox5.Controls.Add(this.label5);
this.groupBox5.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.groupBox5.ForeColor = System.Drawing.Color.Black;
this.groupBox5.Location = new System.Drawing.Point(25, 392);
@@ -331,40 +317,40 @@ namespace TBF.BenchControl.DataEntry.Standard24
this.exclamation5.Text = "!";
this.exclamation5.Visible = false;
//
// wmStartStateTextBox5
// startTextBox5
//
this.wmStartStateTextBox5.Enabled = false;
this.wmStartStateTextBox5.Location = new System.Drawing.Point(164, 31);
this.wmStartStateTextBox5.Name = "wmStartStateTextBox5";
this.wmStartStateTextBox5.Size = new System.Drawing.Size(163, 31);
this.wmStartStateTextBox5.TabIndex = 4;
this.wmStartStateTextBox5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox5_KeyPress);
this.startTextBox5.Enabled = false;
this.startTextBox5.Location = new System.Drawing.Point(164, 31);
this.startTextBox5.Name = "startTextBox5";
this.startTextBox5.Size = new System.Drawing.Size(163, 31);
this.startTextBox5.TabIndex = 4;
this.startTextBox5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox5_KeyPress);
//
// wmEndStateTextBox5
// endTextBox5
//
this.wmEndStateTextBox5.Enabled = false;
this.wmEndStateTextBox5.Location = new System.Drawing.Point(350, 31);
this.wmEndStateTextBox5.Name = "wmEndStateTextBox5";
this.wmEndStateTextBox5.Size = new System.Drawing.Size(163, 31);
this.wmEndStateTextBox5.TabIndex = 1;
this.wmEndStateTextBox5.TextChanged += new System.EventHandler(this.wmEndStateTextBox5_TextChanged);
this.wmEndStateTextBox5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox5_KeyPress);
this.endTextBox5.Enabled = false;
this.endTextBox5.Location = new System.Drawing.Point(350, 31);
this.endTextBox5.Name = "endTextBox5";
this.endTextBox5.Size = new System.Drawing.Size(163, 31);
this.endTextBox5.TabIndex = 1;
this.endTextBox5.TextChanged += new System.EventHandler(this.wmEndStateTextBox5_TextChanged);
this.endTextBox5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox5_KeyPress);
//
// wmStateLabel5
// label5
//
this.wmStateLabel5.AutoSize = true;
this.wmStateLabel5.Location = new System.Drawing.Point(18, 34);
this.wmStateLabel5.Name = "wmStateLabel5";
this.wmStateLabel5.Size = new System.Drawing.Size(68, 23);
this.wmStateLabel5.TabIndex = 0;
this.wmStateLabel5.Text = "State:";
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(18, 34);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(68, 23);
this.label5.TabIndex = 0;
this.label5.Text = "State:";
//
// groupBox6
//
this.groupBox6.Controls.Add(this.exclamation6);
this.groupBox6.Controls.Add(this.wmStartStateTextBox6);
this.groupBox6.Controls.Add(this.wmEndStateTextBox6);
this.groupBox6.Controls.Add(this.wmStateLabel6);
this.groupBox6.Controls.Add(this.startTextBox6);
this.groupBox6.Controls.Add(this.endTextBox6);
this.groupBox6.Controls.Add(this.label6);
this.groupBox6.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.groupBox6.ForeColor = System.Drawing.Color.Black;
this.groupBox6.Location = new System.Drawing.Point(25, 482);
@@ -386,33 +372,33 @@ namespace TBF.BenchControl.DataEntry.Standard24
this.exclamation6.Text = "!";
this.exclamation6.Visible = false;
//
// wmStartStateTextBox6
// startTextBox6
//
this.wmStartStateTextBox6.Enabled = false;
this.wmStartStateTextBox6.Location = new System.Drawing.Point(164, 31);
this.wmStartStateTextBox6.Name = "wmStartStateTextBox6";
this.wmStartStateTextBox6.Size = new System.Drawing.Size(163, 31);
this.wmStartStateTextBox6.TabIndex = 4;
this.wmStartStateTextBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox6_KeyPress);
this.startTextBox6.Enabled = false;
this.startTextBox6.Location = new System.Drawing.Point(164, 31);
this.startTextBox6.Name = "startTextBox6";
this.startTextBox6.Size = new System.Drawing.Size(163, 31);
this.startTextBox6.TabIndex = 4;
this.startTextBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmStartStateTextBox6_KeyPress);
//
// wmEndStateTextBox6
// endTextBox6
//
this.wmEndStateTextBox6.Enabled = false;
this.wmEndStateTextBox6.Location = new System.Drawing.Point(350, 31);
this.wmEndStateTextBox6.Name = "wmEndStateTextBox6";
this.wmEndStateTextBox6.Size = new System.Drawing.Size(163, 31);
this.wmEndStateTextBox6.TabIndex = 1;
this.wmEndStateTextBox6.TextChanged += new System.EventHandler(this.wmEndStateTextBox6_TextChanged);
this.wmEndStateTextBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox6_KeyPress);
this.endTextBox6.Enabled = false;
this.endTextBox6.Location = new System.Drawing.Point(350, 31);
this.endTextBox6.Name = "endTextBox6";
this.endTextBox6.Size = new System.Drawing.Size(163, 31);
this.endTextBox6.TabIndex = 1;
this.endTextBox6.TextChanged += new System.EventHandler(this.wmEndStateTextBox6_TextChanged);
this.endTextBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.wmEndStateTextBox6_KeyPress);
//
// wmStateLabel6
// label6
//
this.wmStateLabel6.AutoSize = true;
this.wmStateLabel6.Location = new System.Drawing.Point(18, 34);
this.wmStateLabel6.Name = "wmStateLabel6";
this.wmStateLabel6.Size = new System.Drawing.Size(68, 23);
this.wmStateLabel6.TabIndex = 0;
this.wmStateLabel6.Text = "State:";
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(18, 34);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(68, 23);
this.label6.TabIndex = 0;
this.label6.Text = "State:";
//
// startLabel
//
@@ -439,16 +425,19 @@ namespace TBF.BenchControl.DataEntry.Standard24
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.DarkGoldenrod;
this.ClientSize = new System.Drawing.Size(729, 586);
this.ClientSize = new System.Drawing.Size(1154, 586);
this.Controls.Add(this.exclamation1);
this.Controls.Add(this.endLabel);
this.Controls.Add(this.startTextBox1);
this.Controls.Add(this.startLabel);
this.Controls.Add(this.endTextBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.groupBox6);
this.Controls.Add(this.groupBox5);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.okButton);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "TestStartEndForm";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
@@ -457,8 +446,6 @@ namespace TBF.BenchControl.DataEntry.Standard24
this.Load += new System.EventHandler(this.CycleEndForm_Load);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.groupBox4.ResumeLayout(false);
@@ -475,30 +462,29 @@ namespace TBF.BenchControl.DataEntry.Standard24
#endregion
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.TextBox wmEndStateTextBox2;
private System.Windows.Forms.Label wmStateLabel2;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox wmEndStateTextBox1;
private System.Windows.Forms.Label wmStateLabel1;
private System.Windows.Forms.TextBox endTextBox2;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox endTextBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button okButton;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.TextBox wmEndStateTextBox3;
private System.Windows.Forms.Label wmStateLabel3;
private System.Windows.Forms.TextBox endTextBox3;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.TextBox wmEndStateTextBox4;
private System.Windows.Forms.Label wmStateLabel4;
private System.Windows.Forms.TextBox endTextBox4;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.GroupBox groupBox5;
private System.Windows.Forms.TextBox wmEndStateTextBox5;
private System.Windows.Forms.Label wmStateLabel5;
private System.Windows.Forms.TextBox endTextBox5;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.GroupBox groupBox6;
private System.Windows.Forms.TextBox wmEndStateTextBox6;
private System.Windows.Forms.Label wmStateLabel6;
private System.Windows.Forms.TextBox wmStartStateTextBox2;
private System.Windows.Forms.TextBox wmStartStateTextBox1;
private System.Windows.Forms.TextBox wmStartStateTextBox3;
private System.Windows.Forms.TextBox wmStartStateTextBox4;
private System.Windows.Forms.TextBox wmStartStateTextBox5;
private System.Windows.Forms.TextBox wmStartStateTextBox6;
private System.Windows.Forms.TextBox endTextBox6;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox startTextBox2;
private System.Windows.Forms.TextBox startTextBox1;
private System.Windows.Forms.TextBox startTextBox3;
private System.Windows.Forms.TextBox startTextBox4;
private System.Windows.Forms.TextBox startTextBox5;
private System.Windows.Forms.TextBox startTextBox6;
private System.Windows.Forms.Label startLabel;
private System.Windows.Forms.Label endLabel;
private System.Windows.Forms.Label exclamation2;