Пример #1
0
 private void SaveNewPositionButton_Click(object sender, RoutedEventArgs e)
 {
     if (Log.OkCancel("Click OK to Confirm", "Save New Position"))
     {
         Plc.Calibrate(DataContext as Axis);
     }
 }
Пример #2
0
 private void SaveNewPositionButton_Click(object sender, RoutedEventArgs e) => Plc.Calibrate(DataContext as Axis);