Munich: Changes in YearOfProduction (Eichjahr), Zaehlertyp, Pruefvorlage, etc., ver.2.7.289

This commit is contained in:
Milan Hanajik
2016-05-20 10:39:12 +02:00
parent 4ae4ba15cf
commit 1bcbe382d7
14 changed files with 198 additions and 155 deletions
@@ -55,6 +55,7 @@ namespace TBF.BenchControl.ResultsPrinters.Munich
if (config == null) return; /// Control was not loaded, settings were not changed
classNameLabel.Text = config.Factory.ClassName;
nameTextBox.Text = config.Name;
versionTextBox.Text = config.Version;
orientationComboBox.Text = config.PageOrientation.ToString();
supressPrintingCheckBox.Checked = config.SupressPrinting;
}
@@ -62,7 +63,8 @@ namespace TBF.BenchControl.ResultsPrinters.Munich
public void Unlock()
{
nameTextBox.Enabled = true;
orientationComboBox.Enabled = true;
versionTextBox.Enabled = true;
orientationComboBox.Enabled = true;
supressPrintingCheckBox.Enabled = true;
}
@@ -86,7 +88,8 @@ namespace TBF.BenchControl.ResultsPrinters.Munich
if (config == null) return CfgUpdateFlags.Error; /// Control was not loaded, settings were not changed
config.Name = nameTextBox.Text;
config.PageOrientation = GetOrientation(orientationComboBox.Text);
config.Version = versionTextBox.Text;
config.PageOrientation = GetOrientation(orientationComboBox.Text);
config.SupressPrinting = supressPrintingCheckBox.Checked;
return flags;