Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/10/10 15:37:04 (15 years ago)
Author:
gkronber
Message:

Fixed GPL license headers and deleted files which are not referenced by projects. #893

File:
1 edited

Legend:

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

    r3736 r3742  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using System;
    223using System.Collections.Generic;
    324using System.ComponentModel;
     
    2748      imageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.Plugin);
    2849      pictureBox.Image = HeuristicLab.PluginInfrastructure.Resources.Logo_white;
     50      licenseTextBox.Text = HeuristicLab.PluginInfrastructure.Resources.LicenseText;
    2951      UpdatePluginList(ApplicationManager.Manager.Plugins);
    3052      ActiveControl = okButton;
     
    5072    private ListViewItem CreateListViewItem(IPluginDescription plugin) {
    5173      ListViewItem item = new ListViewItem(new string[] { plugin.Name, plugin.Version.ToString(), plugin.Description });
     74      item.Tag = plugin;
    5275      item.ImageIndex = 0;
    5376      return item;
     
    7699      Close();
    77100    }
     101
     102    private void pluginListView_ItemActivate(object sender, EventArgs e) {
     103      if(pluginListView.SelectedItems.Count > 0) {
     104        PluginView view = new PluginView((IPluginDescription)pluginListView.SelectedItems[0].Tag);
     105        view.Show();
     106      }
     107    }
     108
     109    private void licenseTextBox_LinkClicked(object sender, LinkClickedEventArgs e) {
     110      System.Diagnostics.Process.Start(e.LinkText);
     111    }
     112
     113    private void linkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {
     114      System.Diagnostics.Process.Start(linkLabel.Text);
     115    }
    78116  }
    79117}
Note: See TracChangeset for help on using the changeset viewer.