iPerlCommunicationForm : Fixed closing the form when editing check boxes.

This commit is contained in:
Milan Hanajik 2018-09-11 11:31:00 +02:00
parent 3382c6e77a
commit 90f2b83fc0
2 changed files with 8 additions and 1 deletions

View File

@ -1435,6 +1435,10 @@ namespace TBF.BenchControl.Sequences
Compound = compound,
HeatMeter = heatMeters,
#if ORACLE_DB
WMTypeId = 0, /// <--------------------------- TODO
WMTypeRev = 0,
#endif
};
}

View File

@ -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;
}
}
}
}