void salaryClient_GetSalarySummaryCompleted(object sender, GetSalarySummaryCompletedEventArgs e) { if (e.Error == null) { foreach (var ent in e.Result) { ent.Balance = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.Balance); ent.CalculateDeduct = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.CalculateDeduct); ent.Personalincometax = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.Personalincometax); ent.Sum = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.Sum); ent.TaxesBasic = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.TaxesBasic); ent.TaxesRate = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.TaxesRate); ent.AbsenceDays = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.AbsenceDays); ent.AreadifAllowance = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.AreadifAllowance); ent.AttendanceUnusualDeduct = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.AttendanceUnusualDeduct); ent.BasicSalary = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.BasicSalary); ent.DeductTotal = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.DeductTotal); ent.DutyAllowance = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.DutyAllowance); ent.FixIncomeSum = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.FixIncomeSum); ent.FoodAllowance = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.FoodAllowance); ent.HousingAllowance = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.HousingAllowance); ent.HousingDeduction = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.HousingDeduction); ent.MantissaDeduct = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.MantissaDeduct); ent.OtherAddDeduction = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.OtherAddDeduction); ent.OtherSubjoin = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.OtherSubjoin); ent.OvertimeSum = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.OvertimeSum); ent.PerformancerewardRecord = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.PerformancerewardRecord); ent.PersonalsiCost = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.PersonalsiCost); ent.PostSalary = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.PostSalary); ent.PretaxSubTotal = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.PretaxSubTotal); ent.SecurityAllowance = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.SecurityAllowance); ent.SubTotal = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.SubTotal); ent.TaxCoefficient = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.TaxCoefficient); ent.VacationDeduct = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.VacationDeduct); ent.WorkingSalary = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.WorkingSalary); ent.ActuallyPay = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.ActuallyPay); } DtGrid.ItemsSource = e.Result; dataPager.PageCount = e.pageCount; } else { } loadbar.Stop(); }