private void btnAddRetail_Click(object sender, EventArgs e) { Customer customer; frmAddRetail addRetailForm = new frmAddRetail(); customer = addRetailForm.GetNewCustomer(); if (customer != null) { customers.Add(customer); } }
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); } }