public static bool GetIsLightTheme() { bool isLightTheme = false; if ((Visibility)Application.Current.Resources["PhoneLightThemeVisibility"] == Visibility.Visible) { isLightTheme = true; } return(IsolatedStorageSettingsHelper.GetValue <bool>(IsLightTheme, isLightTheme)); }
public static void SetMinCashLimitColor(string value) { IsolatedStorageSettingsHelper.SetValue(MinCashLimitColor, value); }
public static string GetMinCashLimitColor() { return(IsolatedStorageSettingsHelper.GetValue <string>(MinCashLimitColor, "Orange")); }
public static void SetMinCashLimitValue(int?value) { IsolatedStorageSettingsHelper.SetValue(MinCashLimitValue, value); }
public static int?GetMinCashLimitValue() { int?value = IsolatedStorageSettingsHelper.GetValue <int?>(MinCashLimitValue, 250); return((value != null) ? value : DefaultMinCashLimitValue); }
public static void SetExportDataEmail(string value) { IsolatedStorageSettingsHelper.SetValue(ExportDataEmail, value); }
public static string GetExportDataEmail() { return(IsolatedStorageSettingsHelper.GetValue <string>(ExportDataEmail, string.Empty)); }
public static void SetWithLiveTileDecimalDigits(bool value) { IsolatedStorageSettingsHelper.SetValue(WithLiveTileDecimalDigits, value); }
public static bool GetWithLiveTileDecimalDigits() { return(IsolatedStorageSettingsHelper.GetValue <bool>(WithLiveTileDecimalDigits, false)); }
public static void SetIsLightTheme(bool value) { IsolatedStorageSettingsHelper.SetValue(IsLightTheme, value); }
public static void SetHasFeedback(bool value) { IsolatedStorageSettingsHelper.SetValue(HasFeedback, value); }
public static bool GetHasFeedback() { return(IsolatedStorageSettingsHelper.GetValue <bool>(HasFeedback, false)); }
public static void SetExecutionCounter(int value) { IsolatedStorageSettingsHelper.SetValue(ExecutionCounter, value); }
public static int GetExecutionCounter() { return(IsolatedStorageSettingsHelper.GetValue(ExecutionCounter, 1)); }
public static void SetNotes(string value) { IsolatedStorageSettingsHelper.SetValue(Notes, value); }
public static string GetNotes() { return(IsolatedStorageSettingsHelper.GetValue <string>(Notes, string.Empty)); }