Exemple #1
0
        private void OnReminderAdded(string reminder)
        {
            ReminderViewer viewer = new ReminderViewer(reminder, this);

            SP_Reminders.Children.Add(viewer);
            Viewers.Add(viewer);
        }
Exemple #2
0
        private void OnReminderRemoved(string reminder)
        {
            ReminderViewer rvToDelete = Viewers.Find(x => x.Reminder == reminder);

            if (rvToDelete != null)
            {
                SP_Reminders.Children.Remove(rvToDelete);
            }
        }