Changeset 3758 for trunk/sources/HeuristicLab.Optimization.Views/3.3
- Timestamp:
- 05/11/10 04:26:09 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization.Views/3.3
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.cs
r3716 r3758 28 28 using HeuristicLab.MainForm; 29 29 using HeuristicLab.Persistence.Default.Xml; 30 using HeuristicLab.PluginInfrastructure; 30 31 31 32 namespace HeuristicLab.Optimization.Views { … … 155 156 Invoke(new EventHandler<EventArgs<Exception>>(Content_ExceptionOccurred), sender, e); 156 157 else 157 Auxiliary.ShowErrorMessageBox(e.Value);158 ErrorHandling.ShowErrorDialog(this, e.Value); 158 159 } 159 160 #endregion … … 172 173 } 173 174 catch (Exception ex) { 174 Auxiliary.ShowErrorMessageBox(ex);175 ErrorHandling.ShowErrorDialog(this, ex); 175 176 } 176 177 } … … 196 197 } 197 198 catch (Exception ex) { 198 Invoke(new Action(() => Auxiliary.ShowErrorMessageBox(ex)));199 Invoke(new Action(() => ErrorHandling.ShowErrorDialog(this, ex))); 199 200 } 200 201 finally { -
trunk/sources/HeuristicLab.Optimization.Views/3.3/BatchRunView.cs
r3716 r3758 27 27 using HeuristicLab.MainForm; 28 28 using HeuristicLab.Persistence.Default.Xml; 29 using HeuristicLab.PluginInfrastructure; 29 30 30 31 namespace HeuristicLab.Optimization.Views { … … 120 121 Invoke(new EventHandler<EventArgs<Exception>>(Content_ExceptionOccurred), sender, e); 121 122 else 122 Auxiliary.ShowErrorMessageBox(e.Value);123 ErrorHandling.ShowErrorDialog(this, e.Value); 123 124 } 124 125 private void Content_AlgorithmChanged(object sender, EventArgs e) { … … 157 158 } 158 159 catch (Exception ex) { 159 Auxiliary.ShowErrorMessageBox(ex);160 ErrorHandling.ShowErrorDialog(this, ex); 160 161 } 161 162 } … … 177 178 } 178 179 catch (Exception ex) { 179 Auxiliary.ShowErrorMessageBox(ex);180 ErrorHandling.ShowErrorDialog(this, ex); 180 181 } 181 182 finally { -
trunk/sources/HeuristicLab.Optimization.Views/3.3/ExperimentView.cs
r3716 r3758 26 26 using HeuristicLab.Core.Views; 27 27 using HeuristicLab.MainForm; 28 using HeuristicLab.PluginInfrastructure; 28 29 29 30 namespace HeuristicLab.Optimization.Views { … … 110 111 Invoke(new EventHandler<EventArgs<Exception>>(Content_ExceptionOccurred), sender, e); 111 112 else 112 Auxiliary.ShowErrorMessageBox(e.Value);113 ErrorHandling.ShowErrorDialog(this, e.Value); 113 114 } 114 115 #endregion -
trunk/sources/HeuristicLab.Optimization.Views/3.3/OptimizerListView.cs
r3588 r3758 26 26 using HeuristicLab.Core.Views; 27 27 using HeuristicLab.MainForm; 28 using HeuristicLab.PluginInfrastructure; 28 29 29 30 namespace HeuristicLab.Optimization.Views { … … 54 55 } 55 56 catch (Exception ex) { 56 Auxiliary.ShowErrorMessageBox(ex);57 ErrorHandling.ShowErrorDialog(this, ex); 57 58 } 58 59 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionConstraintCollectionView.cs
r3632 r3758 26 26 using HeuristicLab.Optimization; 27 27 using System.Drawing; 28 using HeuristicLab.PluginInfrastructure; 28 29 29 30 namespace HeuristicLab.Core.Views { … … 54 55 } 55 56 catch (Exception ex) { 56 Auxiliary.ShowErrorMessageBox(ex);57 ErrorHandling.ShowErrorDialog(this, ex); 57 58 } 58 59 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.cs
r3725 r3758 27 27 using HeuristicLab.MainForm; 28 28 using HeuristicLab.Persistence.Default.Xml; 29 using HeuristicLab.PluginInfrastructure; 29 30 30 31 namespace HeuristicLab.Optimization.Views { … … 90 91 } 91 92 catch (Exception ex) { 92 Auxiliary.ShowErrorMessageBox(ex);93 ErrorHandling.ShowErrorDialog(this, ex); 93 94 } 94 95 finally {
Note: See TracChangeset
for help on using the changeset viewer.