Пример #1
0
        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();
        }
Пример #2
0
 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();
 }