コード例 #1
0
        private async void ButtonEmptyList_Click(object sender, RoutedEventArgs e)
        {
            HistoryList.IsEnabled = false;
            AppHistory.Clear();
            await AppHistory.Delete();

            HistoryList.IsEnabled = true;
        }
コード例 #2
0
        private async void CheckBoxSaveHistory_Unchecked(object sender, RoutedEventArgs e)
        {
            HistoryList.IsEnabled = true;
            AppHistory.IsEnabled  = false;
            AppSettings.Set("App", "SaveHistory", false);
            await AppHistory.Delete();

            HistoryList.IsEnabled = true;
        }