|
|
|
@ -37,13 +37,13 @@ namespace Audit |
|
|
|
|
|
|
|
private void exit(object sender, RoutedEventArgs e) |
|
|
|
{ |
|
|
|
Application.Current.Shutdown();//关闭窗口
|
|
|
|
Application.Current.Shutdown();//关闭全部窗口
|
|
|
|
} |
|
|
|
|
|
|
|
private void help(object sender, RoutedEventArgs e) |
|
|
|
{ |
|
|
|
Windows.help help= new Windows.help(); |
|
|
|
help.Show();//实例化并打开帮助窗口
|
|
|
|
Windows.help help = new Windows.help(); |
|
|
|
help.Show();//实例化并打开帮助窗口
|
|
|
|
} |
|
|
|
|
|
|
|
private void RadioButton_Checked(object sender, RoutedEventArgs e) |
|
|
|
@ -52,9 +52,9 @@ namespace Audit |
|
|
|
if (string.IsNullOrEmpty(button.Content.ToString())) return; |
|
|
|
switch (button.Content.ToString()) |
|
|
|
{ |
|
|
|
case "查询": container.Content = new QueryView(); break; |
|
|
|
case "原料": container.Content = new StuffView(); break; |
|
|
|
case "统计": container.Content = new StatisticsView(); break; |
|
|
|
case "查询": container.Content = new QueryView(); break; |
|
|
|
case "原料": container.Content = new StuffView(); break; |
|
|
|
case "统计": container.Content = new StatisticsView(); break; |
|
|
|
default: |
|
|
|
break; |
|
|
|
} |
|
|
|
|