AddToTree() private method

private AddToTree ( Tree tree ) : void
tree Tree
return void
Esempio n. 1
0
 public void Insert(int index, TreeNode node)
 {
     Remove(node);
     node.Parent = null;
     _rootNodes.Insert(index, node);
     node.AddToTree(this);
     InvalidateHierarchy();
 }
Esempio n. 2
0
 public void Insert(int index, TreeNode node)
 {
     Remove(node);
     node.Parent = null;
     _rootNodes.Insert(index, node);
     node.AddToTree(this);
     InvalidateHierarchy();
 }