Пример #1
0
        private void LoadDeletedReminders()
        {
            BLIO.Log("Recover deleted button pressed. Loading reminders into listview");

            lvReminders.Items.Clear();
            transferType = ReminderTransferType.RECOVER;

            BLFormLogic.AddRemindersToListview(lvReminders, BLReminder.GetDeletedReminders().OrderBy(rem => rem.Name).ToList(), true);
            BLIO.Log("Added deleted reminders to listview.");
        }
Пример #2
0
        private void btnRecoverDeleted_Click(object sender, EventArgs e)
        {
            BLIO.Log("Recover deleted button pressed. Loading reminders into listview");

            lvReminders.Items.Clear();
            ToggleButton(sender);
            transferType = ReminderTransferType.RECOVER;

            BLFormLogic.AddRemindersToListview(lvReminders, BLReminder.GetDeletedReminders().OrderBy(rem => rem.Name).ToList());
            BLIO.Log("Added deleted reminders to listview.");
        }