Exemplo n.º 1
0
 private void btnAddWholesale_Click(object sender, EventArgs e)
 {
     Customer customer;
     frmAddWholesale addWholesaleForm = new frmAddWholesale();
     customer = addWholesaleForm.GetNewCustomer();
     if (customer != null)
     {
         customers.Add(customer);
     }
 }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }