Changeset 3752 for trunk/sources/HeuristicLab.PluginInfrastructure/Advanced
- Timestamp:
- 05/10/10 18:15:09 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure/Advanced
- Files:
-
- 10 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/ConfirmationDialog.cs
r3090 r3752 30 30 namespace HeuristicLab.PluginInfrastructure.Advanced { 31 31 internal partial class ConfirmationDialog : Form { 32 public ConfirmationDialog() {32 public ConfirmationDialog() : base() { 33 33 InitializeComponent(); 34 34 icon.Image = System.Drawing.SystemIcons.Exclamation.ToBitmap(); -
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstallationManagerForm.cs
r3627 r3752 37 37 private string pluginDir; 38 38 39 public InstallationManagerForm(PluginManager pluginManager) {39 public InstallationManagerForm(PluginManager pluginManager) : base() { 40 40 InitializeComponent(); 41 41 FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location); … … 143 143 #region button events 144 144 private void connectionSettingsToolStripMenuItem_Click(object sender, EventArgs e) { 145 new ConnectionSetupView().ShowDialog( );145 new ConnectionSetupView().ShowDialog(this); 146 146 } 147 147 private void tabControl_SelectedIndexChanged(object sender, EventArgs e) { … … 158 158 } 159 159 } 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; 161 161 } 162 162 … … 166 166 strBuilder.AppendLine(plugin.ToString()); 167 167 } 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; 169 169 } 170 170 … … 173 173 if (!string.IsNullOrEmpty(plugin.LicenseText)) { 174 174 var licenseConfirmationBox = new LicenseConfirmationDialog(plugin); 175 if (licenseConfirmationBox.ShowDialog( ) != DialogResult.OK)175 if (licenseConfirmationBox.ShowDialog(this) != DialogResult.OK) 176 176 return false; 177 177 } -
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/InstalledPluginsView.cs
r3721 r3752 208 208 var plugin = (PluginDescription)localPluginsListView.SelectedItems[0].Tag; 209 209 PluginView pluginView = new PluginView(plugin); 210 pluginView.Show( );210 pluginView.Show(this); 211 211 } 212 212 } -
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/LicenseConfirmationDialog.Designer.cs
r3749 r3752 45 45 private void InitializeComponent() { 46 46 this.components = new System.ComponentModel.Container(); 47 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LicenseConfirmationDialog));48 47 this.richTextBox = new System.Windows.Forms.RichTextBox(); 49 48 this.acceptButton = new System.Windows.Forms.Button(); -
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/LicenseConfirmationDialog.cs
r3627 r3752 30 30 namespace HeuristicLab.PluginInfrastructure.Advanced { 31 31 internal partial class LicenseConfirmationDialog : Form { 32 public LicenseConfirmationDialog() {32 public LicenseConfirmationDialog() : base() { 33 33 InitializeComponent(); 34 34 } 35 35 36 public LicenseConfirmationDialog(IPluginDescription plugin) {36 public LicenseConfirmationDialog(IPluginDescription plugin) : base() { 37 37 InitializeComponent(); 38 38 richTextBox.Text = plugin.LicenseText; -
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/LicenseView.cs
r3474 r3752 32 32 internal partial class LicenseView : Form { 33 33 34 public LicenseView() {34 public LicenseView() : base() { 35 35 InitializeComponent(); 36 36 Name = "License"; 37 37 } 38 38 39 public LicenseView(IPluginDescription plugin) {39 public LicenseView(IPluginDescription plugin) : base() { 40 40 InitializeComponent(); 41 41 Name = "License of: " + plugin; -
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/PluginView.Designer.cs
r3749 r3752 45 45 private void InitializeComponent() { 46 46 this.components = new System.ComponentModel.Container(); 47 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PluginView));48 47 this.nameLabel = new System.Windows.Forms.Label(); 49 48 this.nameTextBox = new System.Windows.Forms.TextBox(); … … 316 315 this.Controls.Add(this.nameTextBox); 317 316 this.Controls.Add(this.nameLabel); 318 this.Icon = HeuristicLab.PluginInfrastructure.Resources.HeuristicLab;317 this.Icon = global::HeuristicLab.PluginInfrastructure.Resources.HeuristicLab; 319 318 this.Name = "PluginView"; 319 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 320 320 this.dependenciesGroupBox.ResumeLayout(false); 321 321 this.filesGroupBox.ResumeLayout(false); -
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/PluginView.cs
r3721 r3752 40 40 private IPluginDescription plugin; 41 41 42 public PluginView() {42 public PluginView() : base() { 43 43 InitializeComponent(); 44 44 PopulateImageList(); 45 45 } 46 46 47 public PluginView(IPluginDescription plugin) {47 public PluginView(IPluginDescription plugin) : base() { 48 48 InitializeComponent(); 49 49 PopulateImageList(); … … 114 114 var dep = (PluginDescription)dependenciesListView.SelectedItems[0].Tag; 115 115 PluginView view = new PluginView(dep); 116 view.Show( );116 view.Show(this); 117 117 } 118 118 } … … 120 120 private void showLicenseButton_Click(object sender, EventArgs e) { 121 121 LicenseView view = new LicenseView(plugin); 122 view.Show( );122 view.Show(this); 123 123 } 124 124 }
Note: See TracChangeset
for help on using the changeset viewer.