Exemple #1
0
 /// <summary>
 /// Puts a certain node into focus
 /// </summary>
 /// <param name="node"></param>
 public void Select(TaskTreeNode node)
 {
     foreach (TaskTreeNode n in selectedNodes)
     {
         n.Deselect();
     }
     selectedNodes.Clear();
     selectedNodes.Add(node);
     node.Select();
     OnSelectionChanged();
 }