public override void LoadNextLevel(TreeViewObjectExplorer tv, TreeNodeObject parentNode) { ClassPointer root = parentNode.OwnerIdentity as ClassPointer; IList <Guid> gl = root.GetDatabaseConnectionsUsed(); IList <Guid> gl2 = root.Project.GetObjectGuidList(); List <Guid> lst = new List <Guid>(); lst.AddRange(gl); foreach (Guid g in gl2) { if (!lst.Contains(g)) { lst.Add(g); } } if (lst.Count > 0) { foreach (Guid g in lst) { ConnectionItem ci = ConnectionItem.LoadConnection(g, false, false); if (ci != null) { parentNode.Nodes.Add(new TreeNodeDatabaseConnection(ci)); } } } }