示例#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));
        }
示例#2
0
 public static string GetMinCashLimitColor()
 {
     return(IsolatedStorageSettingsHelper.GetValue <string>(MinCashLimitColor, "Orange"));
 }
示例#3
0
        public static int?GetMinCashLimitValue()
        {
            int?value = IsolatedStorageSettingsHelper.GetValue <int?>(MinCashLimitValue, 250);

            return((value != null) ? value : DefaultMinCashLimitValue);
        }
示例#4
0
 public static string GetExportDataEmail()
 {
     return(IsolatedStorageSettingsHelper.GetValue <string>(ExportDataEmail, string.Empty));
 }
示例#5
0
 public static bool GetWithLiveTileDecimalDigits()
 {
     return(IsolatedStorageSettingsHelper.GetValue <bool>(WithLiveTileDecimalDigits, false));
 }
示例#6
0
 public static bool GetHasFeedback()
 {
     return(IsolatedStorageSettingsHelper.GetValue <bool>(HasFeedback, false));
 }
示例#7
0
 public static int GetExecutionCounter()
 {
     return(IsolatedStorageSettingsHelper.GetValue(ExecutionCounter, 1));
 }
示例#8
0
 public static string GetNotes()
 {
     return(IsolatedStorageSettingsHelper.GetValue <string>(Notes, string.Empty));
 }