MainWnd and DataEntry.S620 changes
This commit is contained in:
@@ -77,6 +77,7 @@ namespace TBF.Rig.DataEntry.S620
|
||||
maxWMsCountTextBox.Text = config.MaxWMsCount.ToString();
|
||||
closeButtonComboBox.Text = (config.CloseButton == '+') ? "+" : (config.CloseButton == '\t') ? "Tab" : "<none>";
|
||||
productionTracingCheckBox.Checked = config.ProductionTracing;
|
||||
ordersFromProdTracingCheckBox.Checked = config.OrdersFromProdTracing;
|
||||
}
|
||||
|
||||
public void Unlock()
|
||||
@@ -86,6 +87,7 @@ namespace TBF.Rig.DataEntry.S620
|
||||
maxWMsCountTextBox.Enabled = true;
|
||||
closeButtonComboBox.Enabled = true;
|
||||
productionTracingCheckBox.Enabled = true;
|
||||
ordersFromProdTracingCheckBox.Enabled = true;
|
||||
}
|
||||
|
||||
public CfgUpdateFlags VerifyCfg(ref string message)
|
||||
@@ -121,6 +123,7 @@ namespace TBF.Rig.DataEntry.S620
|
||||
config.MaxWMsCount = int.Parse(maxWMsCountTextBox.Text);
|
||||
config.CloseButton = (closeButtonComboBox.Text == "+") ? '+' : (closeButtonComboBox.Text == "Tab") ? '\t' : '\0';
|
||||
config.ProductionTracing = productionTracingCheckBox.Checked;
|
||||
config.OrdersFromProdTracing = ordersFromProdTracingCheckBox.Checked;
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user