Exemplo n.º 1
0
 /// <summary>
 /// .ctor
 /// </summary>
 /// <param name="ownerTree">owner tree object</param>
 /// <param name="ownerNode">ownre node object</param>
 public TreeNode(Tree ownerTree, TreeNode ownerNode)
 {
     this.ownerTree = ownerTree;
     this.ownerNode = ownerNode;
     childNodes = new TreeNodeCollection();
     internalCode = GetDefaultNodeCode();
     SetGlobalNodeCode();
     header = String.Format("Node #{0}", internalCode);
 }
Exemplo n.º 2
0
 public Tree()
 {
     rootNodes = new TreeNodeCollection();
 }