Ejemplo n.º 1
0
 private void treeTask_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     if (e.Node is TaskTreeNode)
     {
         TaskTreeNode taskTreeNode = (TaskTreeNode)e.Node;
         task = taskTreeNode.task;
     }
 }
Ejemplo n.º 2
0
 private void treeTask_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     if (e.Node is TaskTreeNode)
     {
         TaskTreeNode    taskTreeNode = (TaskTreeNode)e.Node;
         Task            tsk          = taskTreeNode.task;
         FormDisplayTask fdt          = new FormDisplayTask(ref tsk);
         fdt.ModifyItemCallback = new FormDisplayTask.ModifyItemDelegate(this.ModifyItemCallbackFn);
         fdt.ShowDialog();
     }
 }