private void LoadOldReminders() { BLIO.Log("Recover old button pressed. Loading reminders into listview"); lvReminders.Items.Clear(); transferType = ReminderTransferType.RECOVER; BLFormLogic.AddRemindersToListview(lvReminders, BLReminder.GetArchivedReminders().OrderBy(rem => rem.Name).ToList(), true); BLIO.Log("Added old reminders to listview."); }
private void btnRecoverOld_Click(object sender, EventArgs e) { BLIO.Log("Recover old button pressed. Loading reminders into listview"); lvReminders.Items.Clear(); ToggleButton(sender); transferType = ReminderTransferType.RECOVER; BLFormLogic.AddRemindersToListview(lvReminders, BLReminder.GetArchivedReminders().OrderBy(rem => rem.Name).ToList()); BLIO.Log("Added old reminders to listview."); }