protected override void DoubleClickInstance() { if (HangHoa != null && dgvChiTiet.CurrentRow != null) { frm_ChiTietPhieuNhanDieuChuyen frm = new frm_ChiTietPhieuNhanDieuChuyen(this, HangHoa, liChiTiet, idChungTuChiTiet); if (frm.ShowDialog() == DialogResult.OK) { business.MergeChiTietHangHoa(frm.liChiTiet); } } }
private void btnChiTietMaVach_Click(object sender, EventArgs e) { if (HangHoa != null && dgvChiTiet.CurrentRow != null) { frm_ChiTietPhieuNhanDieuChuyen frm = new frm_ChiTietPhieuNhanDieuChuyen(this, HangHoa, liChiTiet, idChungTuChiTiet); //if (frm.ShowDialog()== DialogResult.OK) //{ business.MergeChiTietHangHoa(frm.liChiTiet); //} } }