/// <summary> /// Opens the NewCustomer form as a dialog box, /// which returns focus to the calling form when it is closed. /// </summary> private void btnGoToAdd_Click(object sender, EventArgs e) { using (Form frm = new NewCustomer()) { frm.Show(); } }
private void btnGoToAddAccount_Click(object sender, EventArgs e) { Form frm = new NewCustomer(); frm.Show(); }