static void Help3ActiveCatalogIdChanged(object sender, EventArgs e) { if (string.IsNullOrEmpty(config.ActiveCatalogId)) { config.ActiveCatalogId = (catalogs.Count > 0) ? catalogs[0].ShortName:string.Empty; } activeCatalog = (string.IsNullOrEmpty(config.ActiveCatalogId)) ? null:FindCatalogByItsShortName(config.ActiveCatalogId); }
static void Help3ActiveCatalogIdChanged(object sender, EventArgs e) { if (string.IsNullOrEmpty(config.ActiveCatalogId)) { config.ActiveCatalogId = (catalogs.Count > 0) ? catalogs[0].ShortName:string.Empty; } activeCatalog = (string.IsNullOrEmpty(config.ActiveCatalogId)) ? null:FindCatalogByItsShortName(config.ActiveCatalogId); }