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); } } }
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); } } }