using MahApps.Metro.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace Audit { /// /// MainWindow.xaml 的交互逻辑 /// public partial class MainWindow : MetroWindow { /// /// MainWindow /// public MainWindow() { InitializeComponent(); } private void TimePicker_SelectedDateTimeChanged(object sender, RoutedPropertyChangedEventArgs e) { } private void exit(object sender, RoutedEventArgs e) { Application.Current.Shutdown();//关闭窗口 } private void help(object sender, RoutedEventArgs e) { Windows.help help= new Windows.help(); help.Show();//实例化并打开帮助窗口 } } }