private void TaskControlActionNew() { logger.Debug("Starting task designer (new task)"); using (var nt = new TaskDesigner()) { nt.ShowDialog(this); } LoadTaskList(); }
private void TaskControlActionEdit() { ScanTask selectedTask = typedTaskList.SelectedObject; logger.Debug("Starting task designer (editing {0})", selectedTask.Name); using (var nt = new TaskDesigner(selectedTask)) { nt.ShowDialog(this); } LoadTaskList(); }