private void btnAddWholesale_Click(object sender, EventArgs e)
 {
     Customer customer;
     frmAddWholesale addWholesaleForm = new frmAddWholesale();
     customer = addWholesaleForm.GetNewCustomer();
     if (customer != null)
     {
         customers.Add(customer);
     }
 }
Exemple #2
0
        private void btnAddWholesale_Click(object sender, EventArgs e)
        {
            Customer        customer;
            frmAddWholesale addWholesaleForm = new frmAddWholesale();

            customer = addWholesaleForm.GetNewCustomer();
            if (customer != null)
            {
                customers.Add(customer);
            }
        }
Exemple #3
0
        private void btnAddWholesale_Click(object sender, EventArgs e)
        {
            Customer customer;
            // TODO: Add code that lets the user enter a new wholesale customer
            // and adds that customer to the customer list
            frmAddWholesale addwholesaleForm = new frmAddWholesale();

            customer = addwholesaleForm.GetNewCustomer();
            if (customer != null)
            {
                customers.Add(customer);
            }
        }