private void StartPageToggleSwitch_Toggled(object sender, RoutedEventArgs e) { StorageHelper.SetSetting(Settings.StartOnAdvanced, ((ToggleSwitch)sender).IsOn); }
private void CloseOnVoiceToggleSwitch_Toggled(object sender, RoutedEventArgs e) { StorageHelper.SetSetting(Settings.CloseOnVoiceCommand, ((ToggleSwitch)sender).IsOn); }
private void PivotOnColourChoiceToggleSwitch_Toggled(object sender, RoutedEventArgs e) { StorageHelper.SetSetting(Settings.PivotOnColourChoice, ((ToggleSwitch)sender).IsOn); }
private async void ResetCacheButton_Click(object sender, RoutedEventArgs e) { StorageHelper.ClearStorage(true, true, true); MessageDialog mbox = new MessageDialog(StorageHelper.Strings.GetString("ClearStorageSetting")); await mbox.ShowAsync(); }