Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/10/10 18:15:09 (14 years ago)
Author:
gkronber
Message:

Cleaned up unnecessary .resx files in plugin infrastructure. #989

Location:
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced
Files:
10 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/ConfirmationDialog.cs

    r3090 r3752  
    3030namespace HeuristicLab.PluginInfrastructure.Advanced {
    3131  internal partial class ConfirmationDialog : Form {
    32     public ConfirmationDialog() {
     32    public ConfirmationDialog() : base() {
    3333      InitializeComponent();
    3434      icon.Image = System.Drawing.SystemIcons.Exclamation.ToBitmap();
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstallationManagerForm.cs

    r3627 r3752  
    3737    private string pluginDir;
    3838
    39     public InstallationManagerForm(PluginManager pluginManager) {
     39    public InstallationManagerForm(PluginManager pluginManager) : base() {
    4040      InitializeComponent();
    4141      FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location);
     
    143143    #region button events
    144144    private void connectionSettingsToolStripMenuItem_Click(object sender, EventArgs e) {
    145       new ConnectionSetupView().ShowDialog();
     145      new ConnectionSetupView().ShowDialog(this);
    146146    }
    147147    private void tabControl_SelectedIndexChanged(object sender, EventArgs e) {
     
    158158        }
    159159      }
    160       return (new ConfirmationDialog("Confirm Delete", "Do you want to delete following files?", strBuilder.ToString())).ShowDialog() == DialogResult.OK;
     160      return (new ConfirmationDialog("Confirm Delete", "Do you want to delete following files?", strBuilder.ToString())).ShowDialog(this) == DialogResult.OK;
    161161    }
    162162
     
    166166        strBuilder.AppendLine(plugin.ToString());
    167167      }
    168       return (new ConfirmationDialog("Confirm Update", "Do you want to update following plugins?", strBuilder.ToString())).ShowDialog() == DialogResult.OK;
     168      return (new ConfirmationDialog("Confirm Update", "Do you want to update following plugins?", strBuilder.ToString())).ShowDialog(this) == DialogResult.OK;
    169169    }
    170170
     
    173173        if (!string.IsNullOrEmpty(plugin.LicenseText)) {
    174174          var licenseConfirmationBox = new LicenseConfirmationDialog(plugin);
    175           if (licenseConfirmationBox.ShowDialog() != DialogResult.OK)
     175          if (licenseConfirmationBox.ShowDialog(this) != DialogResult.OK)
    176176            return false;
    177177        }
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstalledPluginsView.cs

    r3721 r3752  
    208208        var plugin = (PluginDescription)localPluginsListView.SelectedItems[0].Tag;
    209209        PluginView pluginView = new PluginView(plugin);
    210         pluginView.Show();
     210        pluginView.Show(this);
    211211      }
    212212    }
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/LicenseConfirmationDialog.Designer.cs

    r3749 r3752  
    4545    private void InitializeComponent() {
    4646      this.components = new System.ComponentModel.Container();
    47       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LicenseConfirmationDialog));
    4847      this.richTextBox = new System.Windows.Forms.RichTextBox();
    4948      this.acceptButton = new System.Windows.Forms.Button();
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/LicenseConfirmationDialog.cs

    r3627 r3752  
    3030namespace HeuristicLab.PluginInfrastructure.Advanced {
    3131  internal partial class LicenseConfirmationDialog : Form {
    32     public LicenseConfirmationDialog() {
     32    public LicenseConfirmationDialog() : base() {
    3333      InitializeComponent();
    3434    }
    3535
    36     public LicenseConfirmationDialog(IPluginDescription plugin) {
     36    public LicenseConfirmationDialog(IPluginDescription plugin) : base() {
    3737      InitializeComponent();
    3838      richTextBox.Text = plugin.LicenseText;
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/LicenseView.cs

    r3474 r3752  
    3232  internal partial class LicenseView : Form {
    3333
    34     public LicenseView() {
     34    public LicenseView() : base() {
    3535      InitializeComponent();
    3636      Name = "License";
    3737    }
    3838
    39     public LicenseView(IPluginDescription plugin) {
     39    public LicenseView(IPluginDescription plugin) : base() {
    4040      InitializeComponent();
    4141      Name = "License of: " + plugin;
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/PluginView.Designer.cs

    r3749 r3752  
    4545    private void InitializeComponent() {
    4646      this.components = new System.ComponentModel.Container();
    47       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PluginView));
    4847      this.nameLabel = new System.Windows.Forms.Label();
    4948      this.nameTextBox = new System.Windows.Forms.TextBox();
     
    316315      this.Controls.Add(this.nameTextBox);
    317316      this.Controls.Add(this.nameLabel);
    318       this.Icon = HeuristicLab.PluginInfrastructure.Resources.HeuristicLab;
     317      this.Icon = global::HeuristicLab.PluginInfrastructure.Resources.HeuristicLab;
    319318      this.Name = "PluginView";
     319      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
    320320      this.dependenciesGroupBox.ResumeLayout(false);
    321321      this.filesGroupBox.ResumeLayout(false);
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/PluginView.cs

    r3721 r3752  
    4040    private IPluginDescription plugin;
    4141
    42     public PluginView() {
     42    public PluginView() : base() {
    4343      InitializeComponent();
    4444      PopulateImageList();
    4545    }
    4646
    47     public PluginView(IPluginDescription plugin) {
     47    public PluginView(IPluginDescription plugin) : base() {
    4848      InitializeComponent();
    4949      PopulateImageList();
     
    114114        var dep = (PluginDescription)dependenciesListView.SelectedItems[0].Tag;
    115115        PluginView view = new PluginView(dep);
    116         view.Show();
     116        view.Show(this);
    117117      }
    118118    }
     
    120120    private void showLicenseButton_Click(object sender, EventArgs e) {
    121121      LicenseView view = new LicenseView(plugin);
    122       view.Show();
     122      view.Show(this);
    123123    }
    124124  }
Note: See TracChangeset for help on using the changeset viewer.