Esempio n. 1
0
        public static bool GetIsLightTheme()
        {
            bool isLightTheme = false;

            if ((Visibility)Application.Current.Resources["PhoneLightThemeVisibility"] == Visibility.Visible)
            {
                isLightTheme = true;
            }

            return(IsolatedStorageSettingsHelper.GetValue <bool>(IsLightTheme, isLightTheme));
        }
Esempio n. 2
0
 public static void SetMinCashLimitColor(string value)
 {
     IsolatedStorageSettingsHelper.SetValue(MinCashLimitColor, value);
 }
Esempio n. 3
0
 public static string GetMinCashLimitColor()
 {
     return(IsolatedStorageSettingsHelper.GetValue <string>(MinCashLimitColor, "Orange"));
 }
Esempio n. 4
0
 public static void SetMinCashLimitValue(int?value)
 {
     IsolatedStorageSettingsHelper.SetValue(MinCashLimitValue, value);
 }
Esempio n. 5
0
        public static int?GetMinCashLimitValue()
        {
            int?value = IsolatedStorageSettingsHelper.GetValue <int?>(MinCashLimitValue, 250);

            return((value != null) ? value : DefaultMinCashLimitValue);
        }
Esempio n. 6
0
 public static void SetExportDataEmail(string value)
 {
     IsolatedStorageSettingsHelper.SetValue(ExportDataEmail, value);
 }
Esempio n. 7
0
 public static string GetExportDataEmail()
 {
     return(IsolatedStorageSettingsHelper.GetValue <string>(ExportDataEmail, string.Empty));
 }
Esempio n. 8
0
 public static void SetWithLiveTileDecimalDigits(bool value)
 {
     IsolatedStorageSettingsHelper.SetValue(WithLiveTileDecimalDigits, value);
 }
Esempio n. 9
0
 public static bool GetWithLiveTileDecimalDigits()
 {
     return(IsolatedStorageSettingsHelper.GetValue <bool>(WithLiveTileDecimalDigits, false));
 }
Esempio n. 10
0
 public static void SetIsLightTheme(bool value)
 {
     IsolatedStorageSettingsHelper.SetValue(IsLightTheme, value);
 }
Esempio n. 11
0
 public static void SetHasFeedback(bool value)
 {
     IsolatedStorageSettingsHelper.SetValue(HasFeedback, value);
 }
Esempio n. 12
0
 public static bool GetHasFeedback()
 {
     return(IsolatedStorageSettingsHelper.GetValue <bool>(HasFeedback, false));
 }
Esempio n. 13
0
 public static void SetExecutionCounter(int value)
 {
     IsolatedStorageSettingsHelper.SetValue(ExecutionCounter, value);
 }
Esempio n. 14
0
 public static int GetExecutionCounter()
 {
     return(IsolatedStorageSettingsHelper.GetValue(ExecutionCounter, 1));
 }
Esempio n. 15
0
 public static void SetNotes(string value)
 {
     IsolatedStorageSettingsHelper.SetValue(Notes, value);
 }
Esempio n. 16
0
 public static string GetNotes()
 {
     return(IsolatedStorageSettingsHelper.GetValue <string>(Notes, string.Empty));
 }