예제 #1
0
        //退出程序
        private async void CloseButton_Click(object sender, RoutedEventArgs e)
        {
            await SettingsStorage.SaveSettingsAsync();

            Application.Current.Shutdown();
        }
예제 #2
0
 private async void WindowLayer_Unloaded(object sender, RoutedEventArgs e)
 {
     await SettingsStorage.SaveSettingsAsync();
 }