private void btnHuy_Click(object sender, EventArgs e) { if (BaseMessages.ShowUndoQuestionMessage() == DialogResult.No) { return; } LockEdit(true); Loadfg(); }
private void btnHuy_Click(object sender, EventArgs e) { if (BaseMessages.ShowUndoQuestionMessage() == DialogResult.No) { return; } LockEdit(true); fg.Cols["SoLuongXuat"].Visible = false; fg.Cols["ID_KhoXuat"].Visible = false; Loadfg(); cmbKho.EditValue = 0; }
private void btnHuy_Click(object sender, EventArgs e) { int fgRow = fgQD.Row; if (BaseMessages.ShowUndoQuestionMessage() == DialogResult.No) { return; } LockEdit(true); LockEditfgChiTiet(true); Loadfg(); ResetTextboxs(); fgChiTiet.Rows.Count = fgChiTiet.Rows.Fixed; fgQD.Row = fgRow; }