Changeset 13338 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views
- Timestamp:
- 11/23/15 16:14:30 (9 years ago)
- Location:
- branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views/OKBAlgorithmView.cs
r12012 r13338 252 252 Invoke(new EventHandler<EventArgs<Exception>>(Content_ExceptionOccurred), sender, e); 253 253 else 254 ErrorHandling.ShowErrorDialog(this, e.Value);254 MainFormManager.MainForm.ShowError(e.Value.Message, e.Value); 255 255 } 256 256 #endregion … … 283 283 } 284 284 catch (Exception ex) { 285 ErrorHandling.ShowErrorDialog(this, ex);285 MainFormManager.MainForm.ShowError(ex.Message, ex); 286 286 } 287 287 } … … 307 307 } 308 308 catch (Exception ex) { 309 Invoke(new Action(() => ErrorHandling.ShowErrorDialog(this, ex)));309 Invoke(new Action(() => MainFormManager.MainForm.ShowError(ex.Message, ex))); 310 310 } 311 311 finally { -
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views/OKBExperimentUploadView.cs
r12971 r13338 93 93 94 94 private void DisplayError(Exception ex) { 95 PluginInfrastructure.ErrorHandling.ShowErrorDialog("An error occured while retrieving algorithm and problem information from the OKB.", ex);95 MainFormManager.MainForm.ShowError("An error occured while retrieving algorithm and problem information from the OKB.", ex); 96 96 } 97 97 … … 204 204 task.ContinueWith((t) => { 205 205 MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().RemoveOperationProgressFromView(this); 206 PluginInfrastructure.ErrorHandling.ShowErrorDialog("An exception occured while uploading the runs to the OKB.", t.Exception);206 MainFormManager.MainForm.ShowError("An exception occured while uploading the runs to the OKB.", t.Exception); 207 207 }, TaskContinuationOptions.OnlyOnFaulted); 208 208 } -
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views/OKBRunView.cs
r12012 r13338 74 74 + " Please click in the menu bar on Services -> Access -> Client Information and register your client. ", "Missing client registration", MessageBoxButtons.OK, MessageBoxIcon.Information); 75 75 } catch (Exception ex) { 76 ErrorHandling.ShowErrorDialog(this,"Store failed.", ex);76 MainFormManager.MainForm.ShowError("Store failed.", ex); 77 77 } 78 78 }
Note: See TracChangeset
for help on using the changeset viewer.