コード例 #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
ファイル: Navigation.cs プロジェクト: Marbelous/SimpleDataApp
        private void btnGoToAddAccount_Click(object sender, EventArgs e)
        {
            Form frm = new NewCustomer();

            frm.Show();
        }