/// <summary> /// Cập nhật chế độ ghi log /// </summary> /// <Modified> /// Author Date Comments /// Cuongdb 18/2/2008 Tạo mới /// </Modified> private void btnCapNhat_Click(object sender, EventArgs e) { ArrayList arrCheck = new ArrayList(); for (int i = 0; i < grdSuKien.RowCount; i++) { if ((bool)grdSuKien.GetRow(i).Cells[0].Value == true) { arrCheck.Add(grdSuKien.GetRow(i).Cells[1].Value); } } try { mEventGroup.SetLogMode(arrCheck); new Taxi.MessageBox.MessageBoxBA().Show("Đã cập nhật chế độ ghi nhật ký", "Thông báo", Taxi.MessageBox.MessageBoxButtonsBA.OK, Taxi.MessageBox.MessageBoxIconBA.Information); // Ghi log Log objLog = new Log(); objLog.WriteLog(ThongTinDangNhap.USER_ID, HanhDongGhiLog.QuanLyNhatKyHeThong_ThietLapCoCheGhiNhatKy, DateTime.Now, "Cập nhật chế độ ghi log"); } catch { } BindData(curEventGroupID); }