private void ConfirmAccountButton_Click(object sender, EventArgs e) { string g = BussinessName(); existingcustomer exists = new existingcustomer(g, "8437 Orchard Lane"); exists.Show(); }
// sets values and passes them to "existing customer" form private void button1_Click(object sender, EventArgs e) { string _Bname = cNameTB.Text; string _Baddress = addressTB.Text; BusinessInformation new_client = new BusinessInformation(_Bname, _Baddress); existingcustomer new_customer = new existingcustomer(_Bname, _Baddress); new_customer.Show(); }