Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 16:14:30 (8 years ago)
Author:
gkronber
Message:

#2522:

  • moved UI components out of HeuristicLab.PluginInfrastructure -> HeuristicLab.PluginInfrastructure.UI
  • moved ErrorDialog to HeuristicLab.MainForm.WindowsForms
  • moved ErrorHandling (for building an error message string) to HeuristicLab.Common
  • Changed exception handlers in Views to use MainForm.ShowError()
  • Changed usages for ErrorDialog in non-UI components to throw exceptions instead.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RefactorPluginInfrastructure-2522/HeuristicLab.Optimization.Views/3.3/TimeLimitRunView.cs

    r13321 r13338  
    242242          Content.Algorithm = (IAlgorithm)algorithmTypeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType();
    243243        } catch (Exception ex) {
    244           ErrorHandling.ShowErrorDialog(this, ex);
     244          MainFormManager.MainForm.ShowError(ex.Message, ex);
    245245        }
    246246      }
     
    262262              Content.Algorithm = algorithm;
    263263          } catch (Exception ex) {
    264             ErrorHandling.ShowErrorDialog(this, ex);
     264            MainFormManager.MainForm.ShowError(ex.Message, ex);
    265265          } finally {
    266266            Invoke(new Action(delegate() {
Note: See TracChangeset for help on using the changeset viewer.