private void btnKhoiPhucNguyenLieu_Click(object sender, EventArgs e) { if (NguyenLieuBUS.KhoiPhucNguyenLieu(Convert.ToInt32(txtMaNguyenLieu.Text))) { MessageBox.Show("Khôi phục thành công!", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); NL_LoadDanhSachNguyenLieuDaXoa(GetTimKiemNguyenLieu()); LamMoiNguyenLieu(); dgvNguyenLieu.ClearSelection(); } else { MessageBox.Show("Khôi phục thất bại!", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error); } }