private void button1_Click(object sender, EventArgs e) { frmCustomerAccount custAccount = new frmCustomerAccount(); custAccount.ShowDialog(); fillCustomerName(); }
private void addCustomerAcc_Click(object sender, EventArgs e) { frmCustomerAccount addCustomerAcc = new frmCustomerAccount(); addCustomerAcc.ShowDialog(); this.Close(); }