Example #1
0
 /// <summary>
 /// 设置父节点
 /// </summary>
 /// <param name="parent">父节点</param>
 public void setParent(node parent)
 {
     this.parent = parent;
 }
Example #2
0
 /// <summary>
 /// 从节点删除子节点
 /// </summary>
 /// <param name="child">子节点</param>
 public void removeChildNode(node child)
 {
     this.childs.Remove(child);
 }