Пример #1
0
 void client_UpdateTravleSolutionSetCompleted(object sender, UpdateTravleSolutionSetCompletedEventArgs e)
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     try
     {
         if (e.Result == "")
         {
             Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("MODIFYSUCCESSED"));
         }
         else
         {
             Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message);
         }
         RefreshUI(refreshType);
     }
     catch (Exception ex)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString());
     }
 }
Пример #2
0
 void client_UpdateTravleSolutionSetCompleted(object sender, UpdateTravleSolutionSetCompletedEventArgs e)
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     try
     {
         if (e.Result == "")
         {
             Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("MODIFYSUCCESSED"));
         }
         else
         {
             Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message);
         }
         RefreshUI(refreshType);
     }
     catch (Exception ex)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString());
     }
 }