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); }
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; }