public void AddNode(TdaTreeNode node) { _Nodes.Add(node); node.TreeView = this; node.Level = 0; BindEvent(node); }
public TdaTreeNode CreateTreeNode(string text) { TdaTreeNode node = CreateTreeNode(); node.Text = text; return(node); }
public void AddNode(TdaTreeNode node) { _Nodes.Add(node); node.Parent = this; node.TreeView = this.TreeView; node.Level = this.Level + 1; BindEvent(node); }
public void Insert(int index, TdaTreeNode node) { _Nodes.Insert(index, node); node.Parent = this; node.TreeView = this.TreeView; node.Level = this.Level + 1; BindEvent(node); }
public void BindEvent(TdaTreeNode node) { node.OnBindTreeNode += this.OnBindTreeNode; }