Munich specific changes.
This commit is contained in:
parent
1af6a65a9f
commit
1b3fe413cb
@ -154,11 +154,13 @@ namespace TBF
|
||||
try
|
||||
{
|
||||
string message = BenchControl.StateMachine.InitializeDevices();
|
||||
#if !MUNICH
|
||||
if (message != null)
|
||||
{
|
||||
MessageBox.Show("The following components are in simulation mode: \r\n" + message,
|
||||
"Warning", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
#endif
|
||||
|
||||
//emergencyStopModelessDlg = new TBF.Forms.EmergencyStopForm();
|
||||
//emergencyStopModelessDlg.Show();
|
||||
|
||||
@ -77,14 +77,12 @@ namespace TBF.Screens
|
||||
//
|
||||
// previousResultsButton
|
||||
//
|
||||
this.previousResultsButton.Enabled = false;
|
||||
this.previousResultsButton.Location = new System.Drawing.Point(252, 10);
|
||||
this.previousResultsButton.Name = "previousResultsButton";
|
||||
this.previousResultsButton.Size = new System.Drawing.Size(100, 30);
|
||||
this.previousResultsButton.TabIndex = 2;
|
||||
this.previousResultsButton.Text = "Previous results";
|
||||
this.previousResultsButton.UseVisualStyleBackColor = true;
|
||||
this.previousResultsButton.Visible = false;
|
||||
this.previousResultsButton.Click += new System.EventHandler(this.previousResultsButton_Click);
|
||||
//
|
||||
// configureButton
|
||||
|
||||
@ -45,6 +45,10 @@ namespace TBF.Screens
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
#if MUNICH
|
||||
previousResultsButton.Visible = false;
|
||||
#endif
|
||||
|
||||
Bridge.ProcedureSelectedHandler += delegate(object sender, ProcedureSelectedEventArgs args)
|
||||
{
|
||||
if (InvokeRequired)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user