Beispiel #1
0
        private void TaskControlActionNew()
        {
            logger.Debug("Starting task designer (new task)");
            using (var nt = new TaskDesigner())
            {
                nt.ShowDialog(this);
            }

            LoadTaskList();
        }
Beispiel #2
0
        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();
        }