Exemplo n.º 1
0
 void salaryClient_GetEmployeeDeductionMoneyCompleted(object sender, GetEmployeeDeductionMoneyCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         foreach (var ent in e.Result)
         {
             ent.MantissaDeduct    = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.MantissaDeduct);
             ent.OtherSubjoin      = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.OtherSubjoin);
             ent.OtherAddDeduction = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.OtherAddDeduction);
         }
         DtGrid.ItemsSource  = e.Result;
         dataPager.PageCount = e.pageCount;
     }
     else
     {
     }
     loadbar.Stop();
 }
Exemplo n.º 2
0
        void salaryClient_GetEmployeeDeductionMoneyCompleted(object sender, GetEmployeeDeductionMoneyCompletedEventArgs e)
        {

            if (e.Error == null)
            {
                foreach (var ent in e.Result)
                {
                    ent.MantissaDeduct = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.MantissaDeduct);
                    ent.OtherSubjoin = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.OtherSubjoin);
                    ent.OtherAddDeduction = SMT.SaaS.FrameworkUI.Common.Utility.AESDecrypt(ent.OtherAddDeduction);
                }
                DtGrid.ItemsSource = e.Result;
                dataPager.PageCount = e.pageCount;
            }
            else
            {

            }
            loadbar.Stop();
        }