예제 #1
0
 void salaryClient_GetMonthDeductionTaxsCompleted(object sender, GetMonthDeductionTaxsCompletedEventArgs 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);
         }
         DtGrid.ItemsSource  = e.Result;
         dataPager.PageCount = e.pageCount;
     }
     else
     {
     }
     loadbar.Stop();
 }
예제 #2
0
        void salaryClient_GetMonthDeductionTaxsCompleted(object sender, GetMonthDeductionTaxsCompletedEventArgs 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);
                }
                DtGrid.ItemsSource = e.Result;
                dataPager.PageCount = e.pageCount;
            }
            else
            {

            }
            loadbar.Stop();
        }