Пример #1
0
        private void btsearch_Click(object sender, EventArgs e)
        {
            FrmSearchBBGia bbGia = new FrmSearchBBGia();

            bbGia.MyGetData += new FrmSearchBBGia.GetStringSKU(InserchNewSKu);
            bbGia.ShowDialog();
        }
Пример #2
0
 private void FrmbangBaoGia_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F1)
     {
         dateNgayapDung.Focus();
     }
     else if (e.KeyCode == Keys.F2)
     {
         txtSKU.Focus();
     }
     else if (e.KeyCode == Keys.F3)
     {
         txtsoluong.Focus();
     }
     else if (e.KeyCode == Keys.F4)
     {
         FrmSearchBBGia bbGia = new FrmSearchBBGia();
         bbGia.MyGetData += new FrmSearchBBGia.GetStringSKU(InserchNewSKu);
         bbGia.ShowDialog();
     }
 }