예제 #1
0
 /// <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();
     }
 }
예제 #2
0
        private void btnGoToAddAccount_Click(object sender, EventArgs e)
        {
            Form frm = new NewCustomer();

            frm.Show();
        }