Beispiel #1
0
 void SettingsLoaded(object sender, System.Windows.RoutedEventArgs e)
 {
     var settingsBrain = new SettingsBrain();
     var isAnalogChecked = settingsBrain.Read();
     rbAnalog.IsChecked = isAnalogChecked;
     rbDigital.IsChecked = !isAnalogChecked;
 }
Beispiel #2
0
 private void ApplicationBarIconButtonClick(object sender, EventArgs e)
 {
     //Save to virtual file config
     var settingsBrain = new SettingsBrain();
     settingsBrain.Save(rbAnalog.IsChecked != null && rbAnalog.IsChecked.Value);
     //Go Back to main
     if (NavigationService.CanGoBack)
     {
         NavigationService.GoBack();
     }
 }
Beispiel #3
0
 private void SetWatchType()
 {
     var settingsBrain = new SettingsBrain();
     _reloj.IsAnalog = settingsBrain.Read();
 }