Пример #1
0
 void client_CustomGuerdonRecordCompleted(object sender, CustomGuerdonRecordCompletedEventArgs e)
 {
     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("MODIFYSUCCESSED"));
         //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("UPDATESUCCESSED", "CUSTOMGUERDONRECORD"));
     }
     timer.Stop();
     progressGenerate.Value = progressGenerate.Maximum;
 }
Пример #2
0
 void client_CustomGuerdonRecordCompleted(object sender, CustomGuerdonRecordCompletedEventArgs e)
 {
     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("MODIFYSUCCESSED"));
         //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("UPDATESUCCESSED", "CUSTOMGUERDONRECORD"));
     }
     timer.Stop();
     progressGenerate.Value = progressGenerate.Maximum;
 }