private void LoadDatabaseConns()
 {
     CatalogDatabaseConn[] items = CatalogPersist.GetCatalogDatabaseConns();
     if (items != null && items.Length > 0)
     {
         foreach (CatalogDatabaseConn it in items)
         {
             AddChild(it);
         }
     }
 }
Exemplo n.º 2
0
 private void LoadNetServers()
 {
     CatalogNetServer[] servers = CatalogPersist.GetCatalogNetServers();
     if (servers == null || servers.Length == 0)
     {
         return;
     }
     foreach (CatalogNetServer srv in servers)
     {
         AddChild(srv);
     }
 }
Exemplo n.º 3
0
 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;
     }
 }