AddToTree() private method

private AddToTree ( Tree tree ) : void
tree Tree
return void
示例#1
0
 public void Insert(int index, TreeNode node)
 {
     Remove(node);
     node.Parent = null;
     _rootNodes.Insert(index, node);
     node.AddToTree(this);
     InvalidateHierarchy();
 }
示例#2
0
文件: Tree.cs 项目: jaquadro/MonoGdx
 public void Insert(int index, TreeNode node)
 {
     Remove(node);
     node.Parent = null;
     _rootNodes.Insert(index, node);
     node.AddToTree(this);
     InvalidateHierarchy();
 }