private void OpenAddTask(Task task, bool edit) { AddTask dialog = new AddTask(task); dialog.edit = edit; dialog.Destroyed += HandleDialogClose; dialog.Show(); }
internal static void EditTask(Task task) { if (task != null) { AddTask taskEdit = new AddTask(task); taskEdit.Show(); } else { SuggestTask(); } }
static internal void EditTask(Task task) { if (task != null) { AddTask taskEdit = new AddTask(task); taskEdit.Show(); } else { SuggestTask(); } }
internal static void AddTask(bool InProgress) { AddTask task = new AddTask(InProgress); task.Show(); }
static internal void AddTask(bool InProgress) { AddTask task = new AddTask(InProgress); task.Show(); }
private void OpenAddTask(Task task, bool edit) { AddTask dialog = new AddTask (task); dialog.edit = edit; dialog.Destroyed += HandleDialogClose; dialog.Show(); }