public MyTreeNode(MyUlTreeView myPowerTree) { this.ViewState = new StateBag(); this.depth = -1; this.nodes = null; this.tree = myPowerTree; }
internal void SetTree(MyUlTreeView tree) { this.tree = tree; foreach (MyTreeNode node in this.items) { node.Tree = tree; } }
public MyTreeNodeCollection(MyUlTreeView tree) { this.items = new ArrayList(); this.tree = tree; }
public MyTreeNodeCollection(MyTreeNode owner) { this.items = new ArrayList(); this.parent = owner; this.tree = owner.Tree; }