예제 #1
0
 private void txtBranchID_KeyDown(object sender, KeyEventArgs e)
 {
     switch (e.KeyCode)
     {
     case Keys.F2:
         e.SuppressKeyPress = true;
         using (frmChiNhanh f = new frmChiNhanh())
         {
             if (f.ShowDialog() == DialogResult.OK)
             {
                 txtBranchID.Text = f.DVI_ID;
             }
             DesignForm.vForm = this;
         }
         break;
     }
 }
예제 #2
0
        private void ItemMnuDanhMuc_CHINHANH_Click(object sender, EventArgs e)
        {
            frmChiNhanh callForm = new frmChiNhanh();

            callForm.ShowDialog();
        }