/// <summary> /// Thoái duyệt dữ liệu /// </summary> private void onCancel(List <int> listId) { DanhMucProcess danhmucProcess = new DanhMucProcess(); Mouse.OverrideCursor = Cursors.Wait; try { List <ClientResponseDetail> listClientResponseDetail = new List <ClientResponseDetail>(); bool ret = danhmucProcess.ThoaiDuyetCum(listId.ToArray(), ref listClientResponseDetail); afterCancel(ret, listId, listClientResponseDetail); } catch (System.Exception ex) { // Yêu cầu unlock dữ liệu UtilitiesProcess process = new UtilitiesProcess(); bool retUnlockData = process.UnlockData(this.Module, this.Function, this.Table, DatabaseConstant.Action.THOAI_DUYET, listId); this.Cursor = Cursors.Arrow; CommonFunction.ThongBaoLoi(ex); LLogging.WriteLog(System.Reflection.MethodInfo.GetCurrentMethod().ToString(), LLogging.LogType.ERR, ex); } Mouse.OverrideCursor = Cursors.Arrow; }