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

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