private void ButtonEdit_Click(object sender, RoutedEventArgs e) { if (list1.SelectedIndex != -1) { NeworEditCalibrationSource necs = new NeworEditCalibrationSource(this, false); necs.Show(); } }
private void ButtonNew_Click(object sender, RoutedEventArgs e) { NeworEditCalibrationSource necs = new NeworEditCalibrationSource(this, true); necs.Show(); }