예제 #1
0
 private void StartPageToggleSwitch_Toggled(object sender, RoutedEventArgs e)
 {
     StorageHelper.SetSetting(Settings.StartOnAdvanced, ((ToggleSwitch)sender).IsOn);
 }
예제 #2
0
 private void CloseOnVoiceToggleSwitch_Toggled(object sender, RoutedEventArgs e)
 {
     StorageHelper.SetSetting(Settings.CloseOnVoiceCommand, ((ToggleSwitch)sender).IsOn);
 }
예제 #3
0
 private void PivotOnColourChoiceToggleSwitch_Toggled(object sender, RoutedEventArgs e)
 {
     StorageHelper.SetSetting(Settings.PivotOnColourChoice, ((ToggleSwitch)sender).IsOn);
 }
예제 #4
0
 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();
 }