private async void ButtonEmptyList_Click(object sender, RoutedEventArgs e) { HistoryList.IsEnabled = false; AppHistory.Clear(); await AppHistory.Delete(); HistoryList.IsEnabled = true; }
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; }