Ejemplo n.º 1
0
        /* Obtain the reference of the absolute root node */
        public UITreeViewNode getRootNode()
        {
            UITreeViewNode curNode = this;

            while (curNode.parentNode != null)
            {
                curNode = curNode.parentNode;
            }
            return(curNode);
        }
Ejemplo n.º 2
0
 /* Constructor */
 public UITreeViewNode(EntityConstants.EntityType eType, string name, UITreeViewNode parent, ContextMenuStrip cms) : base(name)
 {
     this.type             = eType;
     this.parentNode       = parent;
     this.ContextMenuStrip = cms;
 }