public Notification(string name, string message, DateTime alarmTime, List <string> recurring, bool hourly, ToDoItem toDoItem) { this.name = name; this.message = message; this.alarmTime = alarmTime; this.recurring = recurring; this.hourly = hourly; this.toDoItem = toDoItem; }
public static void RemoveToDoItem(ToDoItem toDoItem) { toDoList.Remove(toDoItem); UpdateListView(); }
public void SetSelectedNotification() { selectedToDoItem = ToDoList.SelectedItem; }