예제 #1
0
        private TreeNode FillObject(string parentCaption, string key, SimpleObjectCollectionBase collection)
        {
            TreeNode node = null;

            parentNode = this.ParentNode(parentCaption, key);
            this.FillNewButton(parentCaption, key);

            //BrokerObjectBase
            foreach (NamedSmoObject item in collection)
            {
                //item.Name
                node = this.AddNode(item.Name, key);
            }

            return(node);
        }
예제 #2
0
        private TreeNode FillObject(string parentCaption, string key, SimpleObjectCollectionBase collection)
        {
            TreeNode node = null;
            parentNode = this.ParentNode(parentCaption, key);
            this.FillNewButton(parentCaption, key);

            //BrokerObjectBase
            foreach (NamedSmoObject item in collection)
            {
                //item.Name
                node = this.AddNode(item.Name, key);
            }

            return node;
        }