Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/24/10 10:24:20 (14 years ago)
Author:
gkronber
Message:

Preparations for next HL release. #1203

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  
    4040      var curAssembly = this.GetType().Assembly;
    4141      productTextBox.Text = GetProduct(curAssembly);
    42       versionTextBox.Text = GetVersion(curAssembly);
     42      versionTextBox.Text = GetVersion();
    4343      copyrightTextBox.Text = GetCopyright(curAssembly);
    4444      imageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.Plugin);
     
    7979    }
    8080
    81     private string GetVersion(Assembly asm) {
     81    private string GetVersion() {
    8282      FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location);
    8383      return pluginInfrastructureVersion.FileVersion;
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Starter/SplashScreen.cs

    r4068 r4482  
    3232    private Timer fadeTimer;
    3333    private int initialInterval;
    34     private PluginManager manager;
    3534
    3635    internal SplashScreen() {
     
    4140      : this() {
    4241      this.initialInterval = initialInterval;
    43       this.manager = manager;
    4442
    4543      manager.ApplicationStarted += new EventHandler<PluginInfrastructureEventArgs>(manager_ApplicationStarted);
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Starter/StarterForm.cs

    r4068 r4482  
    9393            try {
    9494              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              }
    9798              UpdateApplicationsList();
    9899            }
     
    180181    private void aboutButton_Click(object sender, EventArgs e) {
    181182      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      }
    184186    }
    185187  }
Note: See TracChangeset for help on using the changeset viewer.