Ejemplo n.º 1
0
 private void OnCaptureEndedEvent(Subcalibration sender, EventArgs e)
 {
     if (CaptureEnded != null)
         CaptureEnded(sender, e);
 }
Ejemplo n.º 2
0
 private void sub_CaptureEnded(Subcalibration sender, EventArgs e)
 {
     ActiveCalibrationSub = null;
 }
Ejemplo n.º 3
0
 private void OnRequestCaptureEvent(Subcalibration sender, EventArgs e)
 {
     if (RequestCapture != null)
         RequestCapture(sender, e);
 }
Ejemplo n.º 4
0
 private async void sub_RequestCapture(Subcalibration sender, EventArgs e)
 {
     if (ActiveCalibrationSub != null)
         ActiveCalibrationSub.AbortCommand.Execute(null);
     await Task.Delay(200);
     ActiveCalibrationSub = sender;
     await ActiveCalibrationSub.RunAsync();
 }