Esempio n. 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;
     }
 }
Esempio n. 2
0
        private void ItemMnuDanhMuc_CHINHANH_Click(object sender, EventArgs e)
        {
            frmChiNhanh callForm = new frmChiNhanh();

            callForm.ShowDialog();
        }