private void OnTaskAdded(Task task, Task taskParent, Task taskUnder, object sender)
 {
     if (TaskAdded != null)
     {
         TaskAddedEventArgs e = new TaskAddedEventArgs();
         e.task           = task;
         e.taskUnder      = taskUnder;
         e.parentTask     = taskParent;
         e.originalSender = sender;
         TaskAdded(this, e);
     }
 }
Example #2
0
 private void Tasks_TaskAdded(object sender, TaskAddedEventArgs e)
 {
     AddEventsToTask(e.task);
 }