private void LoadDatabaseConns() { CatalogDatabaseConn[] items = CatalogPersist.GetCatalogDatabaseConns(); if (items != null && items.Length > 0) { foreach (CatalogDatabaseConn it in items) { AddChild(it); } } }
private void LoadNetServers() { CatalogNetServer[] servers = CatalogPersist.GetCatalogNetServers(); if (servers == null || servers.Length == 0) { return; } foreach (CatalogNetServer srv in servers) { AddChild(srv); } }
internal override void LoadChildren() { if (!_isLoaded) { CatalogLocal[] locs = CatalogPersist.GetCatalogLocalFolders(); if (locs != null && locs.Length > 0) { foreach (CatalogLocal l in locs) { AddChild(l); } Refresh(); } _isLoaded = true; } }