Minor changes, ver.2.7.284
This commit is contained in:
@@ -29,13 +29,20 @@ namespace TBF.BenchControl.DataEntry.Munich
|
||||
MainSNText = new string[Config.Data.CompoundWMsCount];
|
||||
AuxSNText = new string[Config.Data.CompoundWMsCount];
|
||||
completed = false;
|
||||
StartForceCloseHandler();
|
||||
|
||||
if (Config.Data.CompoundWMsCount < 2) Height = 200;
|
||||
else if (Config.Data.CompoundWMsCount < 3) Height = 355;
|
||||
if (Config.Data.CompoundWMsCount < 2)
|
||||
{
|
||||
Height = 200;
|
||||
}
|
||||
else if (Config.Data.CompoundWMsCount < 3)
|
||||
{
|
||||
Height = 355;
|
||||
}
|
||||
|
||||
Localize();
|
||||
}
|
||||
|
||||
StartForceCloseHandler();
|
||||
}
|
||||
|
||||
void Localize()
|
||||
{
|
||||
@@ -43,13 +50,21 @@ namespace TBF.BenchControl.DataEntry.Munich
|
||||
groupBox1.Text = Strings.Water_Meter + " 1";
|
||||
mainSN1Label.Text = Strings.Main_WM_SerialNr;
|
||||
auxSN1Label.Text = Strings.Aux_WM_SerialNr;
|
||||
groupBox2.Text = Strings.Water_Meter + " 2";
|
||||
mainSN2Label.Text = Strings.Main_WM_SerialNr;
|
||||
auxSN2Label.Text = Strings.Aux_WM_SerialNr;
|
||||
groupBox3.Text = Strings.Water_Meter + " 3";
|
||||
mainSN3Label.Text = Strings.Main_WM_SerialNr;
|
||||
auxSN3Label.Text = Strings.Aux_WM_SerialNr;
|
||||
okButton.Text = Strings.OkBtnText;
|
||||
okButton.Text = Strings.OkBtnText;
|
||||
|
||||
if (Config.Data.CompoundWMsCount >= 2)
|
||||
{
|
||||
groupBox2.Text = Strings.Water_Meter + " 2";
|
||||
mainSN2Label.Text = Strings.Main_WM_SerialNr;
|
||||
auxSN2Label.Text = Strings.Aux_WM_SerialNr;
|
||||
}
|
||||
|
||||
if (Config.Data.CompoundWMsCount >= 3)
|
||||
{
|
||||
groupBox3.Text = Strings.Water_Meter + " 3";
|
||||
mainSN3Label.Text = Strings.Main_WM_SerialNr;
|
||||
auxSN3Label.Text = Strings.Aux_WM_SerialNr;
|
||||
}
|
||||
}
|
||||
|
||||
private void okButton_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user