using System; using System.Collections.Generic; using System.Windows.Forms; namespace Clifton.Windows.Forms.XmlTree { public class NodeInstance { protected TreeNode tn; protected NodeDef nodeDef; protected IXtreeNode instance; /// <summary> /// Gets/sets nodeDef /// </summary> public NodeDef NodeDef { get { return nodeDef; } set { nodeDef = value; } } /// <summary> /// Gets/sets instance /// </summary> public IXtreeNode Instance { get { return instance; } set { instance = value; } } public NodeInstance(TreeNode tn, NodeDef def) { this.tn = tn; nodeDef = def; } public NodeInstance(TreeNode tn, NodeDef def, IXtreeNode instance) { this.tn = tn; nodeDef = def; this.instance = instance; } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)