Example #1
0
 public void AddNode(TdaTreeNode node)
 {
     _Nodes.Add(node);
     node.TreeView = this;
     node.Level    = 0;
     BindEvent(node);
 }
Example #2
0
        public TdaTreeNode CreateTreeNode(string text)
        {
            TdaTreeNode node = CreateTreeNode();

            node.Text = text;
            return(node);
        }
Example #3
0
 public void AddNode(TdaTreeNode node)
 {
     _Nodes.Add(node);
     node.Parent   = this;
     node.TreeView = this.TreeView;
     node.Level    = this.Level + 1;
     BindEvent(node);
 }
Example #4
0
 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);
 }
Example #5
0
 public void BindEvent(TdaTreeNode node)
 {
     node.OnBindTreeNode += this.OnBindTreeNode;
 }