Changeset 13338 for branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/QueryView.cs
- Timestamp:
- 11/23/15 16:14:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.Clients.OKB.Views/3.3/Query/Views/QueryView.cs
r12012 r13338 130 130 } 131 131 catch (AggregateException remaining) { 132 if (remaining.InnerExceptions.Count == 1) ErrorHandling.ShowErrorDialog(this,"Refresh results failed.", remaining.InnerExceptions[0]);133 else ErrorHandling.ShowErrorDialog(this,"Refresh results failed.", remaining);132 if (remaining.InnerExceptions.Count == 1) MainFormManager.MainForm.ShowError("Refresh results failed.", remaining.InnerExceptions[0]); 133 else MainFormManager.MainForm.ShowError("Refresh results failed.", remaining); 134 134 } 135 135 } … … 162 162 163 163 private void refreshFiltersButton_Click(object sender, EventArgs e) { 164 Content.RefreshAsync(new Action<Exception>((Exception ex) => ErrorHandling.ShowErrorDialog(this,"Refresh failed.", ex)));164 Content.RefreshAsync(new Action<Exception>((Exception ex) => MainFormManager.MainForm.ShowError("Refresh failed.", ex))); 165 165 } 166 166
Note: See TracChangeset
for help on using the changeset viewer.