Esempio n. 1
0
 internal void SaveLocationSettingsFromDisclaimer(bool value)
 {
     CurrentSettings = new Setting();
     CurrentSettings.IsLocationAware = value;
     persistentStore.Backup(IsolatedStorageKeys.SETTINGS_DATA, CurrentSettings);
 }
Esempio n. 2
0
        private void LoadSettings()
        {
            if (CurrentSettings != null)
                return;

            CurrentSettings = new Setting();
            CurrentSettings = persistentStore.Restore<Setting>(IsolatedStorageKeys.SETTINGS_DATA);

            if (CurrentSettings == null)
                CurrentSettings = new Setting();
        }