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

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

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