Changeset 3742 for trunk/sources/HeuristicLab.PluginInfrastructure/Starter
- Timestamp:
- 05/10/10 15:37:04 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure/Starter
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Starter/AboutDialog.Designer.cs
r3736 r3742 1 namespace HeuristicLab.PluginInfrastructure.Starter { 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 22 namespace HeuristicLab.PluginInfrastructure.Starter { 2 23 partial class AboutDialog { 3 24 /// <summary> … … 40 61 this.copyrightTextBox = new System.Windows.Forms.TextBox(); 41 62 this.pluginsGroupBox = new System.Windows.Forms.GroupBox(); 42 this. externalLibrariesTextBox = new System.Windows.Forms.RichTextBox();63 this.licenseTextBox = new System.Windows.Forms.RichTextBox(); 43 64 this.label2 = new System.Windows.Forms.Label(); 44 this.urlTextBox = new System.Windows.Forms.RichTextBox();45 65 this.panel1 = new System.Windows.Forms.Panel(); 46 66 this.label4 = new System.Windows.Forms.Label(); 47 67 this.richTextBox1 = new System.Windows.Forms.RichTextBox(); 68 this.linkLabel = new System.Windows.Forms.LinkLabel(); 48 69 ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit(); 49 70 this.pluginsGroupBox.SuspendLayout(); … … 74 95 this.pluginListView.Name = "pluginListView"; 75 96 this.pluginListView.ShowGroups = false; 76 this.pluginListView.Size = new System.Drawing.Size(589, 159);97 this.pluginListView.Size = new System.Drawing.Size(589, 201); 77 98 this.pluginListView.SmallImageList = this.imageList; 78 99 this.pluginListView.Sorting = System.Windows.Forms.SortOrder.Ascending; … … 80 101 this.pluginListView.UseCompatibleStateImageBehavior = false; 81 102 this.pluginListView.View = System.Windows.Forms.View.Details; 103 this.pluginListView.ItemActivate += new System.EventHandler(this.pluginListView_ItemActivate); 82 104 // 83 105 // pluginNameColumnHeader … … 174 196 | System.Windows.Forms.AnchorStyles.Right))); 175 197 this.pluginsGroupBox.Controls.Add(this.pluginListView); 176 this.pluginsGroupBox.Location = new System.Drawing.Point(12, 3 48);198 this.pluginsGroupBox.Location = new System.Drawing.Point(12, 306); 177 199 this.pluginsGroupBox.Name = "pluginsGroupBox"; 178 this.pluginsGroupBox.Size = new System.Drawing.Size(601, 184);200 this.pluginsGroupBox.Size = new System.Drawing.Size(601, 226); 179 201 this.pluginsGroupBox.TabIndex = 10; 180 202 this.pluginsGroupBox.TabStop = false; 181 203 this.pluginsGroupBox.Text = "Plugins"; 182 204 // 183 // externalLibrariesTextBox184 // 185 this. externalLibrariesTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)205 // licenseTextBox 206 // 207 this.licenseTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 186 208 | System.Windows.Forms.AnchorStyles.Right))); 187 this.externalLibrariesTextBox.BackColor = System.Drawing.SystemColors.HighlightText; 188 this.externalLibrariesTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; 189 this.externalLibrariesTextBox.Location = new System.Drawing.Point(186, 115); 190 this.externalLibrariesTextBox.Name = "externalLibrariesTextBox"; 191 this.externalLibrariesTextBox.ReadOnly = true; 192 this.externalLibrariesTextBox.Size = new System.Drawing.Size(427, 227); 193 this.externalLibrariesTextBox.TabIndex = 11; 194 this.externalLibrariesTextBox.Text = resources.GetString("externalLibrariesTextBox.Text"); 195 this.externalLibrariesTextBox.WordWrap = false; 209 this.licenseTextBox.BackColor = System.Drawing.SystemColors.HighlightText; 210 this.licenseTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None; 211 this.licenseTextBox.Location = new System.Drawing.Point(186, 115); 212 this.licenseTextBox.Name = "licenseTextBox"; 213 this.licenseTextBox.ReadOnly = true; 214 this.licenseTextBox.Size = new System.Drawing.Size(427, 185); 215 this.licenseTextBox.TabIndex = 11; 216 this.licenseTextBox.Text = "License Text"; 217 this.licenseTextBox.WordWrap = false; 218 this.licenseTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.licenseTextBox_LinkClicked); 196 219 // 197 220 // label2 … … 203 226 this.label2.TabIndex = 12; 204 227 this.label2.Text = "Website:"; 205 //206 // urlTextBox207 //208 this.urlTextBox.BackColor = System.Drawing.SystemColors.HighlightText;209 this.urlTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;210 this.urlTextBox.Location = new System.Drawing.Point(258, 69);211 this.urlTextBox.Multiline = false;212 this.urlTextBox.Name = "urlTextBox";213 this.urlTextBox.ReadOnly = true;214 this.urlTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;215 this.urlTextBox.Size = new System.Drawing.Size(355, 13);216 this.urlTextBox.TabIndex = 13;217 this.urlTextBox.Text = "www.heuristiclab.com";218 228 // 219 229 // panel1 … … 248 258 this.richTextBox1.Size = new System.Drawing.Size(355, 13); 249 259 this.richTextBox1.TabIndex = 16; 250 this.richTextBox1.Text = "developers@heuristiclab.com"; 260 this.richTextBox1.Text = "support@heuristiclab.com"; 261 // 262 // linkLabel 263 // 264 this.linkLabel.AutoSize = true; 265 this.linkLabel.Location = new System.Drawing.Point(255, 69); 266 this.linkLabel.Name = "linkLabel"; 267 this.linkLabel.Size = new System.Drawing.Size(135, 13); 268 this.linkLabel.TabIndex = 17; 269 this.linkLabel.TabStop = true; 270 this.linkLabel.Text = "http://dev.heuristiclab.com"; 271 this.linkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked); 251 272 // 252 273 // AboutDialog … … 257 278 this.BackColor = System.Drawing.SystemColors.Window; 258 279 this.ClientSize = new System.Drawing.Size(625, 586); 280 this.Controls.Add(this.linkLabel); 259 281 this.Controls.Add(this.richTextBox1); 260 282 this.Controls.Add(this.label4); 261 283 this.Controls.Add(this.panel1); 262 this.Controls.Add(this.urlTextBox);263 284 this.Controls.Add(this.label2); 264 this.Controls.Add(this. externalLibrariesTextBox);285 this.Controls.Add(this.licenseTextBox); 265 286 this.Controls.Add(this.pluginsGroupBox); 266 287 this.Controls.Add(this.copyrightTextBox); … … 301 322 private System.Windows.Forms.TextBox copyrightTextBox; 302 323 private System.Windows.Forms.GroupBox pluginsGroupBox; 303 private System.Windows.Forms.RichTextBox externalLibrariesTextBox;324 private System.Windows.Forms.RichTextBox licenseTextBox; 304 325 private System.Windows.Forms.Label label2; 305 private System.Windows.Forms.RichTextBox urlTextBox;306 326 private System.Windows.Forms.Panel panel1; 307 327 private System.Windows.Forms.Label label4; 308 328 private System.Windows.Forms.RichTextBox richTextBox1; 329 private System.Windows.Forms.LinkLabel linkLabel; 309 330 } 310 331 } -
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 22 using System; 2 23 using System.Collections.Generic; 3 24 using System.ComponentModel; … … 27 48 imageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.Plugin); 28 49 pictureBox.Image = HeuristicLab.PluginInfrastructure.Resources.Logo_white; 50 licenseTextBox.Text = HeuristicLab.PluginInfrastructure.Resources.LicenseText; 29 51 UpdatePluginList(ApplicationManager.Manager.Plugins); 30 52 ActiveControl = okButton; … … 50 72 private ListViewItem CreateListViewItem(IPluginDescription plugin) { 51 73 ListViewItem item = new ListViewItem(new string[] { plugin.Name, plugin.Version.ToString(), plugin.Description }); 74 item.Tag = plugin; 52 75 item.ImageIndex = 0; 53 76 return item; … … 76 99 Close(); 77 100 } 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 } 78 116 } 79 117 } -
trunk/sources/HeuristicLab.PluginInfrastructure/Starter/AboutDialog.resx
r3736 r3742 121 121 <value>17, 17</value> 122 122 </metadata> 123 <data name="externalLibrariesTextBox.Text" xml:space="preserve">124 <value>HeuristicLab is free software: you can redistribute it and/or modify125 it under the terms of the GNU General Public License as published by126 the Free Software Foundation, either version 3 of the License, or127 (at your option) any later version.128 129 HeuristicLab is distributed in the hope that it will be useful,130 but WITHOUT ANY WARRANTY; without even the implied warranty of131 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the132 GNU General Public License for more details.133 134 You should have received a copy of the GNU General Public License135 along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.136 137 External software used by HeuristicLab:138 SharpZipLib 0.85.4.0:139 (C) 2001-2007 Mike Krueger and John Reilly140 </value>141 </data>142 123 <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 143 124 <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> -
trunk/sources/HeuristicLab.PluginInfrastructure/Starter/StarterForm.cs
r3736 r3742 54 54 : base() { 55 55 InitializeComponent(); 56 largeImageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.HeuristicLab); 57 smallImageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.HeuristicLab); 56 58 FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location); 57 59 Text = "HeuristicLab " + pluginInfrastructureVersion.FileVersion; -
trunk/sources/HeuristicLab.PluginInfrastructure/Starter/StarterForm.resx
r3732 r3742 128 128 AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w 129 129 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 130 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAA CE131 CQAAAk1TRnQBSQFMAwEBAAEMAQABDAEAASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA132 A YADAAEgAwABAQEAAQgGAAEQGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA130 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADS 131 BwAAAk1TRnQBSQFMAwEBAAEEAQABBAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA 132 AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA 133 133 AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA 134 134 AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm … … 157 157 AcwB/wFmAQAC/wGZAQAC/wHMAQACZgH/AQABZgH/AWYBAAFmAv8BAAH/AmYBAAH/AWYB/wEAAv8BZgEA 158 158 ASEBAAGlAQADXwEAA3cBAAOGAQADlgEAA8sBAAOyAQAD1wEAA90BAAPjAQAD6gEAA/EBAAP4AQAB8AH7 159 Af8BAAGkAqABAAOAAwAB/wIAAf8DAAL/AQAB/wMAAf8BAAH/AQAC/wIAA///AP8AHQAB/2YABP8GAAH/ 160 AwAB/wsAAVMB9GQAARsCUwEaBwADUwIAARoLUwF6Af9iAAH/AlMBmgcAAXoCUwIAAfYNU2MAA1MHAAEa 161 AlMB/wIAA1MFmgEaAlMBG2QAAXUCUwcAARsCUwEbAgADUwYAAVNmAAGaAlMB/wYAAfYCUwEaAgABegJT 162 BQAB/2cAARoCUwEbBwACUwF6AgABGgJTAfZsAAH1AlMBGgcAA1MCAAEbAlMBG20AAlMBegcaAXoCUwIA 163 AfUCUwEabQANUwH0AgACUwGabQABmgxTARoCAANTbQABGgJTARsH9QJTAZoCAAGaAlNtAAEbAlMBGgcA 164 AlMBdQIAARoCUwH1bAAB/wJTAZoHAAF6AlMCAAEbAlMBGm0AAlMBegcAAZoCUwH/AQAB/wJTARptAANT 165 BwABGgJTAfMCAAJTAXptAAGaAlMHAAH1AlMBGgIAA1NtAAEaAlMB9QUAAf8EUwGaAQABmgJTbQA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Uxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADS 182 BwAAAk1TRnQBSQFMAwEBAAE MAQABDAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA175 BwAAAk1TRnQBSQFMAwEBAAEEAQABBAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA 183 176 AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA 184 177 AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
Note: See TracChangeset
for help on using the changeset viewer.