Exemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (dgvHSX.SelectedRows[0].Index != -1)
     {
         string strMaHSX = dgvHSX.SelectedRows[0].Cells["colMaLoai"].Value.ToString();
         frmHangSanXuat frm = new frmHangSanXuat(strMaHSX);
         frm.suaHSX += XuLiSuaHSX;
         frm.ShowDialog();
     }
 }
Exemplo n.º 2
0
 private void btnThem_Click(object sender, EventArgs e)
 {
     frmHangSanXuat frm = new frmHangSanXuat();
     frm.themHSX += XuLiThemHSX;
     frm.ShowDialog();
 }