예제 #1
0
        public static bool IsNewVersionAndStore()
        {
            var buildVersion  = AppInfo.Version.Minor;
            var storedVersion = StoreUtil.GetInt(MINORVERSION);
            var isNewVersion  = false;

            if ((storedVersion == -1) || (buildVersion != storedVersion))
            {
                isNewVersion = true;
            }

            if (isNewVersion)
            {
                StoreUtil.SaveInt(MINORVERSION, AppInfo.Version.Minor);
            }

            return(isNewVersion);
        }
예제 #2
0
 public static int GetAlarmMinute()
 {
     return(StoreUtil.GetInt(ALARMMINUTE, -1));
 }
예제 #3
0
 public static int GetAlarmHour()
 {
     return(StoreUtil.GetInt(ALARMHOUR, -1));
 }