Ejemplo n.º 1
0
 public TreeNodeImpl(TreeViewImpl treeViewImpl, TreeNodeData data)
 {
     Debug.Assert(data.TreeNode == null);
     TreeView      = treeViewImpl;
     nodeList      = new SharpTreeNodeChildrenList(this);
     Data          = data;
     Data.TreeNode = this;
 }
Ejemplo n.º 2
0
 public TreeNodeImpl(TreeViewImpl treeViewImpl, ITreeNodeData data)
 {
     Debug.Assert(data.TreeNode == null);
     this.treeViewImpl  = treeViewImpl;
     this.nodeList      = new SharpTreeNodeChildrenList(this);
     this.data          = data;
     this.data.TreeNode = this;
 }