Beispiel #1
0
 /// <summary>
 /// 审核外出申请记录
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void client_AuditOutApplyCompleted(object sender, AuditOutApplyCompletedEventArgs e)
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     if (e.Error != null)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("AUDITSUCCESSED", Utility.GetResourceStr("CURRENTRECORD", "")));
         FormType = FormTypes.Audit;
         RefreshUI(RefreshedTypes.AuditInfo);
     }
     RefreshUI(RefreshedTypes.All);
 }
Beispiel #2
0
 /// <summary>
 /// 审核外出申请记录
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void client_AuditOutApplyCompleted(object sender, AuditOutApplyCompletedEventArgs e)
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     if (e.Error != null)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("AUDITSUCCESSED", Utility.GetResourceStr("CURRENTRECORD", "")));
         FormType = FormTypes.Audit;
         RefreshUI(RefreshedTypes.AuditInfo);
     }
     RefreshUI(RefreshedTypes.All);
 }