示例#1
0
        /// <summary>
        /// makes the popup that shows howmany reminders are set for today
        /// </summary>
        public static void MakeTodaysRemindersPopup()
        {
            int reminderCount = BLReminder.GetTodaysReminders().Count;

            if (BLLocalDatabase.Setting.IsReminderCountPopupEnabled())
            {
                if (reminderCount > 0)
                {
                    MakeMessagePopup("You have " + reminderCount + " Reminder(s) set for today.", 3);
                }
                else
                {
                    MakeMessagePopup("You have no reminders set for today.", 3);
                }
            }
        }