iPerlCommunicationForm : Fixed closing the form when editing check boxes.
This commit is contained in:
parent
3382c6e77a
commit
90f2b83fc0
@ -1435,6 +1435,10 @@ namespace TBF.BenchControl.Sequences
|
||||
|
||||
Compound = compound,
|
||||
HeatMeter = heatMeters,
|
||||
#if ORACLE_DB
|
||||
WMTypeId = 0, /// <--------------------------- TODO
|
||||
WMTypeRev = 0,
|
||||
#endif
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -1965,7 +1965,10 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
|
||||
private void iPerlCommunicationForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
e.Cancel = true;
|
||||
if ((e.CloseReason == CloseReason.UserClosing) && !checkBoxesEditMode)
|
||||
{
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user