private void btnCustomer_Click(object sender, EventArgs e) { if (cbSite.Items.Count <= 0) { return; } setContext(); var customersHome = new CustomerHandler.Customers(new ApiContext(_apiContext.TenantId, masterCatalogId: _apiContext.MasterCatalogId, catalogId: _apiContext.CatalogId)); customersHome.Show(); }
private void btnCustomer_Click(object sender, EventArgs e) { if (cbSite.Items.Count <= 0) return; setContext(); var customersHome = new CustomerHandler.Customers(new ApiContext(_apiContext.TenantId, masterCatalogId: _apiContext.MasterCatalogId, catalogId: _apiContext.CatalogId)); customersHome.Show(); }