Beispiel #1
0
 private void readWriteCurrentCalibrCommand_CommandStateQuery(object sender, C1.Win.C1Command.CommandStateQueryEventArgs e)
 {
     e.Enabled = dispatcher.Ecu.IsConnected && currentCalibr != null;
 }
Beispiel #2
0
 private void openedDatFilesCommandControl_CommandStateQuery(object sender, C1.Win.C1Command.CommandStateQueryEventArgs e)
 {
     e.Enabled = !dispatcher.Ecu.IsStarted;
 }
Beispiel #3
0
 private void startCommunicationCommand_CommandStateQuery(object sender, C1.Win.C1Command.CommandStateQueryEventArgs e)
 {
     e.Checked = dispatcher.Ecu.IsStarted;
     e.Enabled = dispatcher.DatFile != null && !dispatcher.Ecu.IsStarted;
 }
Beispiel #4
0
 private void stopCommunicationCommand_CommandStateQuery(object sender, C1.Win.C1Command.CommandStateQueryEventArgs e)
 {
     e.Enabled = dispatcher.Ecu.IsStarted;
 }
 private void c1Command5_CommandStateQuery(object sender, C1.Win.C1Command.CommandStateQueryEventArgs e)
 {
     // we do not allow to create more than 1 child
     e.Enabled = _form2 == null;
 }