Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/04/10 09:38:25 (15 years ago)
Author:
gkronber
Message:

Fixed issues in plugin infrastructure as identified by abeham. #863 (Code review)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Starter/StarterForm.cs

    r2527 r2748  
    3333using HeuristicLab.PluginInfrastructure.Manager;
    3434using System.IO;
     35using HeuristicLab.PluginInfrastructure.Advanced;
    3536
    3637namespace HeuristicLab.PluginInfrastructure.Starter {
     
    4546      InitializeComponent();
    4647
    47       string pluginPath = Path.GetFullPath(Application.StartupPath);     
     48      string pluginPath = Path.GetFullPath(Application.StartupPath);
    4849      pluginManager = new PluginManager(pluginPath);
    4950      SplashScreen splashScreen = new SplashScreen(pluginManager, 1000, "Loading HeuristicLab...");
     
    7778      var appDesc = (from desc in pluginManager.Applications
    7879                     where desc.Name == appName
    79                      select desc).Single();
     80                     select desc).SingleOrDefault();
    8081      if (appDesc != null) {
    8182        StartApplication(appDesc);
     
    9394        if (selected == pluginManagerListViewItem) {
    9495          try {
    95             //Cursor = Cursors.AppStarting;
    96             //ManagerForm form = new ManagerForm();
    97             //this.Visible = false;
    98             //form.ShowDialog(this);
    99             //// RefreshApplicationsList();
    100             //this.Visible = true;
     96            Cursor = Cursors.AppStarting;
     97            InstallationManagerForm form = new InstallationManagerForm();
     98            this.Visible = false;
     99            form.ShowDialog(this);
     100            // RefreshApplicationsList();
     101            this.Visible = true;
    101102          }
    102103          finally {
Note: See TracChangeset for help on using the changeset viewer.