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.
Location:
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure.UI
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure.UI/AboutDialog.cs

    r13337 r13338  
    2525using System.Reflection;
    2626using System.Windows.Forms;
    27 using HeuristicLab.PluginInfrastructure.Advanced;
    2827
    29 namespace HeuristicLab.PluginInfrastructure.Starter {
     28namespace HeuristicLab.PluginInfrastructure.UI {
    3029  /// <summary>
    3130  /// Shows product, version and copyright information for HeuristicLab and all plugins.
     
    4140      versionTextBox.Text = GetVersion();
    4241      copyrightTextBox.Text = GetCopyright(curAssembly);
    43       imageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.Plugin);
    44       pictureBox.Image = HeuristicLab.PluginInfrastructure.Resources.HeuristicLabLogo;
    45       licenseTextBox.Text = HeuristicLab.PluginInfrastructure.Resources.LicenseText;
     42      imageList.Images.Add(Resources.Plugin);
     43      pictureBox.Image = Resources.HeuristicLabLogo;
     44      licenseTextBox.Text = Resources.LicenseText;
    4645      UpdatePluginList(ApplicationManager.Manager.Plugins);
    4746      ActiveControl = okButton;
     
    7978
    8079    private string GetVersion() {
    81       return AssemblyHelpers.GetFileVersion(GetType().Assembly);
     80      return AssemblyExtensions.GetFileVersion(GetType().Assembly);
    8281    }
    8382
Note: See TracChangeset for help on using the changeset viewer.