private void HelpCommandExecuted(object sender, ExecutedRoutedEventArgs e) { var dialog = new AboutWindow { Owner = this }; dialog.ShowDialog(); e.Handled = true; }
private void AboutMenuItem_Click(object sender, RoutedEventArgs e) { var dialog = new AboutWindow() { Owner = this }; dialog.ShowDialog(); }
private void HelpCommandExecuted(object sender, ExecutedRoutedEventArgs e) { DiagnosticsClient.TrackEvent("MainWindow_HelpCommandExecuted"); var dialog = new AboutWindow { Owner = this }; dialog.ShowDialog(); e.Handled = true; }