Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/15 16:14:30 (9 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/IOptimizerView.cs

    r12012 r13338  
    2121
    2222using System;
    23 using System.Windows.Forms;
    2423using HeuristicLab.Common;
    2524using HeuristicLab.Core;
    2625using HeuristicLab.Core.Views;
    2726using HeuristicLab.MainForm;
    28 using HeuristicLab.PluginInfrastructure;
    2927
    3028namespace HeuristicLab.Optimization.Views {
     
    131129        Invoke(new EventHandler<EventArgs<Exception>>(Content_ExceptionOccurred), sender, e);
    132130      else
    133         ErrorHandling.ShowErrorDialog(this, e.Value);
     131        MainFormManager.MainForm.ShowError(e.Value.Message, e.Value);
    134132    }
    135133    #endregion
Note: See TracChangeset for help on using the changeset viewer.