- Timestamp:
- 05/05/10 11:37:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/PluginView.cs
r3624 r3627 66 66 versionTextBox.Text = plugin.Version.ToString(); 67 67 contactTextBox.Text = CombineStrings(plugin.ContactName, plugin.ContactEmail); 68 toolTip.SetToolTip(contactTextBox, contactTextBox.Text); 68 69 descriptionTextBox.Text = plugin.Description; 70 toolTip.SetToolTip(descriptionTextBox, plugin.Description); 69 71 var localPlugin = plugin as PluginDescription; 70 72 if (localPlugin != null) { 71 73 stateTextBox.Text = localPlugin.PluginState.ToString(); 72 74 errorTextBox.Text = localPlugin.LoadingErrorInformation; 75 toolTip.SetToolTip(stateTextBox, stateTextBox.Text + Environment.NewLine + errorTextBox.Text); 76 toolTip.SetToolTip(errorTextBox, errorTextBox.Text); 73 77 } 74 78 foreach (PluginDescription dependency in plugin.Dependencies) { … … 92 96 Util.ResizeColumns(filesListView.Columns.OfType<ColumnHeader>()); 93 97 94 licenseButton.Enabled = !string.IsNullOrEmpty(plugin.LicenseText);98 showLicenseButton.Enabled = !string.IsNullOrEmpty(plugin.LicenseText); 95 99 } 96 100 … … 106 110 } 107 111 108 private void licenseButton_Click(object sender, EventArgs e) {109 LicenseView view = new LicenseView(plugin);110 view.Show();111 }112 113 112 private void dependenciesListView_ItemActivate(object sender, EventArgs e) { 114 113 if (dependenciesListView.SelectedItems.Count > 0) { … … 118 117 } 119 118 } 119 120 private void showLicenseButton_Click(object sender, EventArgs e) { 121 LicenseView view = new LicenseView(plugin); 122 view.Show(); 123 } 120 124 } 121 125 }
Note: See TracChangeset
for help on using the changeset viewer.