AddToTree() private method

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