Example #1
0
 void Upd_SSurveyCheckedCompleted(object sender, Upd_SSurveyCheckedCompletedEventArgs e)//先更新方案成功后, 添加 和修改题目、答案
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     if (e.Error != null && e.Error.Message != "")
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message);
         return;
     }
     if (e.Result > 0)
     {
         Utility.ShowMessageBox("AUDITSUCCESSED", true, true);
         RefreshUI(RefreshedTypes.CloseAndReloadData);
     }
     else
     {
         Utility.ShowMessageBox("AUDITFAILURE", true, false);
     }
 }
Example #2
0
 void Upd_SSurveyCheckedCompleted(object sender, Upd_SSurveyCheckedCompletedEventArgs e)//先更新方案成功后, 添加 和修改题目、答案
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     if (e.Error != null && e.Error.Message != "")
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message);
         return;
     }
     if (e.Result > 0)
     {
         Utility.ShowMessageBox("AUDITSUCCESSED", true, true);
         RefreshUI(RefreshedTypes.CloseAndReloadData);
     }
     else
     {
         Utility.ShowMessageBox("AUDITFAILURE", true, false);
     }
 }