- Timestamp:
- 09/24/10 10:24:20 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Starter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Starter/AboutDialog.cs
r4068 r4482 40 40 var curAssembly = this.GetType().Assembly; 41 41 productTextBox.Text = GetProduct(curAssembly); 42 versionTextBox.Text = GetVersion( curAssembly);42 versionTextBox.Text = GetVersion(); 43 43 copyrightTextBox.Text = GetCopyright(curAssembly); 44 44 imageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.Plugin); … … 79 79 } 80 80 81 private string GetVersion( Assembly asm) {81 private string GetVersion() { 82 82 FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location); 83 83 return pluginInfrastructureVersion.FileVersion; -
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Starter/SplashScreen.cs
r4068 r4482 32 32 private Timer fadeTimer; 33 33 private int initialInterval; 34 private PluginManager manager;35 34 36 35 internal SplashScreen() { … … 41 40 : this() { 42 41 this.initialInterval = initialInterval; 43 this.manager = manager;44 42 45 43 manager.ApplicationStarted += new EventHandler<PluginInfrastructureEventArgs>(manager_ApplicationStarted); -
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Starter/StarterForm.cs
r4068 r4482 93 93 try { 94 94 Cursor = Cursors.AppStarting; 95 InstallationManagerForm form = new InstallationManagerForm(pluginManager); 96 form.ShowDialog(this); 95 using (InstallationManagerForm form = new InstallationManagerForm(pluginManager)) { 96 form.ShowDialog(this); 97 } 97 98 UpdateApplicationsList(); 98 99 } … … 180 181 private void aboutButton_Click(object sender, EventArgs e) { 181 182 List<IPluginDescription> plugins = new List<IPluginDescription>(pluginManager.Plugins.OfType<IPluginDescription>()); 182 var dialog = new AboutDialog(plugins); 183 dialog.ShowDialog(); 183 using (var dialog = new AboutDialog(plugins)) { 184 dialog.ShowDialog(); 185 } 184 186 } 185 187 }
Note: See TracChangeset
for help on using the changeset viewer.