private void btnSuaHang_Click(object sender, EventArgs e) { frmSuaHang frmSH = new frmSuaHang(); frmSH.ShowDialog(); loadDuLieu(); }
private void btnSuaHang2_Click(object sender, EventArgs e) { Hang h = new Hang(); h.MaHang = dgvHang.SelectedRows[0].Cells[0].Value.ToString(); frmSuaHang formSuaHang = new frmSuaHang(h); formSuaHang.ShowDialog(); loadDuLieu(); }