Munich: Changes in YearOfProduction (Eichjahr), Zaehlertyp, Pruefvorlage, etc., ver.2.7.289
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user