From aff195eb71d48bb66dd7e9c4619222b1357499df Mon Sep 17 00:00:00 2001 From: ReignStumble Date: Fri, 6 Jul 2018 00:08:20 -0400 Subject: [PATCH] Added Exit and About --- DICUI/MainWindow.xaml | 4 ++-- DICUI/MainWindow.xaml.cs | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/DICUI/MainWindow.xaml b/DICUI/MainWindow.xaml index 2934d94a..5d03b294 100644 --- a/DICUI/MainWindow.xaml +++ b/DICUI/MainWindow.xaml @@ -27,13 +27,13 @@ - + - + diff --git a/DICUI/MainWindow.xaml.cs b/DICUI/MainWindow.xaml.cs index a8dbac2f..9371249b 100644 --- a/DICUI/MainWindow.xaml.cs +++ b/DICUI/MainWindow.xaml.cs @@ -490,5 +490,15 @@ namespace DICUI } #endregion + + private void AppExit_Click(object sender, RoutedEventArgs e) + { + System.Windows.Application.Current.Shutdown(); + } + + private void About_Click(object sender, RoutedEventArgs e) + { + MessageBox.Show("Hello, world!", "My App", MessageBoxButton.OK, MessageBoxImage.Information); + } } }