Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/20/08 14:56:45 (17 years ago)
Author:
gkronber
Message:

hide the starter only when the plugin-manager is running.
don't close the starter when an application is running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab/MainForm.cs

    r16 r17  
    9292          splashScreen.Owner = this;
    9393          splashScreen.Show();
    94           this.Visible = false;
    9594          PluginManager.Manager.Action += new PluginManagerActionEventHandler(splashScreen.Manager_Action);
    96           PluginManager.Manager.Run(app);
    97           this.Visible = true;
     95          Thread t = new Thread(delegate() {
     96            PluginManager.Manager.Run(app);
     97          });
     98          t.SetApartmentState(ApartmentState.STA);
     99          t.Start();
    98100        }
    99101      }
Note: See TracChangeset for help on using the changeset viewer.