/// <summary> /// 编辑月度结算信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void clientAtt_ModifyAttendMonthlyBalanceCompleted(object sender, ModifyAttendMonthlyBalanceCompletedEventArgs e) { if (e.Error == null) { if (e.Result == "{SAVESUCCESSED}") { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("UPDATESUCCESSED", Utility.GetResourceStr("CURRENTRECORD", "ATTENDANCESOLUTIONASIGNFORM"))); InitParas(); RefreshUI(RefreshedTypes.All); } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Result.TrimStart(new char[] { '{' }).TrimEnd(new char[] { '}' }))); } } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message)); } }