private void btnOpenAccount_Click(object sender, EventArgs e) { using (OpenAccount frmOpenAccount = new OpenAccount(txtFirstName.Text + " " + txtSurname.Text, currentCustomer.CustomerID)) { frmOpenAccount.ShowDialog(); } }
private void btnOpenAccount_Click(object sender, EventArgs e) { using (OpenAccount frmOpenAccount = new OpenAccount(txtFirstName.Text + " " + txtSurname.Text, currentCustomer.CustomerID)) { frmOpenAccount.ShowDialog(); } }