- Timestamp:
- 11/12/09 17:45:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PluginInfrastructure Refactoring/HeuristicLab/MainForm.cs
r2481 r2488 37 37 private ListViewItem pluginManagerListViewItem; 38 38 private bool abortRequested; 39 private PluginManager pluginManager; 39 40 40 41 public MainForm() … … 43 44 44 45 abortRequested = false; 45 PluginManagerpluginManager = new PluginManager(HeuristicLab.PluginInfrastructure.Properties.Settings.Default.PluginDir);46 pluginManager = new PluginManager(HeuristicLab.PluginInfrastructure.Properties.Settings.Default.PluginDir); 46 47 SplashScreen splashScreen = new SplashScreen(pluginManager, 1000, "Loading HeuristicLab..."); 47 48 splashScreen.Owner = this; … … 83 84 if (selected == pluginManagerListViewItem) { 84 85 try { 85 Cursor = Cursors.AppStarting;86 ManagerForm form = new ManagerForm();87 this.Visible = false;88 form.ShowDialog(this);89 // RefreshApplicationsList();90 this.Visible = true;86 //Cursor = Cursors.AppStarting; 87 //ManagerForm form = new ManagerForm(); 88 //this.Visible = false; 89 //form.ShowDialog(this); 90 //// RefreshApplicationsList(); 91 //this.Visible = true; 91 92 } 92 93 finally { … … 95 96 } else { 96 97 ApplicationDescription app = (ApplicationDescription)applicationsListView.SelectedItems[0].Tag; 97 SplashScreen splashScreen = new SplashScreen( 2000, "Loading " + app.Name);98 SplashScreen splashScreen = new SplashScreen(pluginManager, 2000, "Loading " + app.Name); 98 99 splashScreen.Owner = this; 99 100 splashScreen.Show(); 100 PluginManager.Manager.Action += new PluginManagerActionEventHandler(splashScreen.Manager_Action);101 101 Thread t = new Thread(delegate() { 102 102 bool stopped = false; … … 104 104 try { 105 105 if (!abortRequested) 106 PluginManager.Manager.Run(app);106 pluginManager.Run(app); 107 107 stopped = true; 108 108 }
Note: See TracChangeset
for help on using the changeset viewer.