Beispiel #1
0
 void client_GetCheckPointByEmployeeTypeSumCompleted(object sender, GetCheckPointByEmployeeTypeSumCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != null)
     {
         //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("FINDERROR"), Utility.GetResourceStr(e.Error.Message));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         currentSumPoint = e.Result;
         if (FormTypes.Edit == FormType)
         {
             currentSumPoint -= Convert.ToInt32(PointSet.CHECKPOINTSCORE);
         }
     }
 }
Beispiel #2
0
 void client_GetCheckPointByEmployeeTypeSumCompleted(object sender, GetCheckPointByEmployeeTypeSumCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != null)
     {
         //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("FINDERROR"), Utility.GetResourceStr(e.Error.Message));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         currentSumPoint = e.Result;
         if (FormTypes.Edit == FormType)
         {
             currentSumPoint -= Convert.ToInt32(PointSet.CHECKPOINTSCORE);
         }
     }
 }