示例#1
0
        public void Open()
        {
            this._isOpen = true;

            // update open nodes
            Schema.OpenNode(this.UniqueName);
        }
示例#2
0
        public void Open()
        {
            if (this.IsLeaf)
            {
                return;
            }

            // load children if not loaded before
            if (this.Children.Count == 0)
            {
                System.Xml.XmlElement parentEl = Schema.GetMemberChildren(this.UniqueName, false);
                LoadChildrenFromXmlSchema(parentEl);
            }

            this._isOpen = true;

            // update hierarchy's open nodes
            Schema.OpenNode(this.UniqueName);
        }