internal static void Init() { m_initOk = true; try { _licenceseCheck = new CatalogLicenseProviderCheck(); } catch { } }
public void Open() { if (CatalogLicenseProviderCheck.Check()) { IGxObject obj2; string[] logicalDrives = Directory.GetLogicalDrives(); int index = 0; while (true) { if (index >= logicalDrives.Length) { break; } try { if ((logicalDrives[index].ToUpper() != @"A:\") && (logicalDrives[index].ToUpper() != @"B:\")) { obj2 = new GxDiskConnection(); (obj2 as IGxFile).Path = logicalDrives[index]; obj2.Attach(this, this); } } catch { } index++; } string path = Application.StartupPath + @"\CatalogConfig.xml"; if (File.Exists(path)) { this.method_0(path); } obj2 = new GxRemoteDatabaseFolder(); obj2.Attach(this, this); obj2 = new GxDatabaseServerFolder(); obj2.Attach(this, this); obj2 = new GxGISServersFolder(); obj2.Attach(this, this); } }
private static void old_acctor_mc() { _licenceseCheck = null; m_initOk = false; }