internal void SaveLocationSettingsFromDisclaimer(bool value) { CurrentSettings = new Setting(); CurrentSettings.IsLocationAware = value; persistentStore.Backup(IsolatedStorageKeys.SETTINGS_DATA, CurrentSettings); }
private void LoadSettings() { if (CurrentSettings != null) return; CurrentSettings = new Setting(); CurrentSettings = persistentStore.Restore<Setting>(IsolatedStorageKeys.SETTINGS_DATA); if (CurrentSettings == null) CurrentSettings = new Setting(); }