public TreeNodeImpl(TreeViewImpl treeViewImpl, TreeNodeData data) { Debug.Assert(data.TreeNode == null); TreeView = treeViewImpl; nodeList = new SharpTreeNodeChildrenList(this); Data = data; Data.TreeNode = this; }
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; }