private void startStopAcquiring_Click(object sender, RoutedEventArgs e) { if (!ValidWindow.IsValid(this)) { return; } this.DialogResult = true; }
private void Button_Click_1(object sender, RoutedEventArgs e) { if (!ValidWindow.IsValid(this)) { return; } this.DialogResult = true; }