Changeset 3736 for trunk/sources/HeuristicLab.PluginInfrastructure/Starter
- Timestamp:
- 05/10/10 11:22:48 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure/Starter
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Starter/StarterForm.Designer.cs
r3732 r3736 59 59 this.showLargeIconsButton = new System.Windows.Forms.RadioButton(); 60 60 this.showDetailsButton = new System.Windows.Forms.RadioButton(); 61 this.aboutButton = new System.Windows.Forms.Button(); 61 62 this.SuspendLayout(); 62 63 // … … 65 66 this.startButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 66 67 this.startButton.Enabled = false; 67 this.startButton.Location = new System.Drawing.Point( 579, 511);68 this.startButton.Location = new System.Drawing.Point(498, 511); 68 69 this.startButton.Name = "startButton"; 69 70 this.startButton.Size = new System.Drawing.Size(75, 23); … … 73 74 this.startButton.UseVisualStyleBackColor = true; 74 75 this.startButton.Click += new System.EventHandler(this.applicationsListView_ItemActivate); 75 //76 // largeImageList77 //78 this.largeImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("largeImageList.ImageStream")));79 this.largeImageList.TransparentColor = System.Drawing.Color.Transparent;80 this.largeImageList.Images.SetKeyName(0, "HeuristicLab.ico");81 76 // 82 77 // applicationsListView … … 122 117 this.descriptionColumnHeader.Width = 453; 123 118 // 124 // smallImageList125 //126 this.smallImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("smallImageList.ImageStream")));127 this.smallImageList.TransparentColor = System.Drawing.Color.Transparent;128 this.smallImageList.Images.SetKeyName(0, "HeuristicLab.ico");129 //130 119 // showLargeIconsButton 131 120 // … … 156 145 this.showDetailsButton.Click += new System.EventHandler(this.detailsButton_Click); 157 146 // 147 // aboutButton 148 // 149 this.aboutButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 150 this.aboutButton.Location = new System.Drawing.Point(579, 511); 151 this.aboutButton.Name = "aboutButton"; 152 this.aboutButton.Size = new System.Drawing.Size(75, 23); 153 this.aboutButton.TabIndex = 4; 154 this.aboutButton.Text = "&About..."; 155 this.aboutButton.UseVisualStyleBackColor = true; 156 this.aboutButton.Click += new System.EventHandler(this.aboutButton_Click); 157 // 158 158 // StarterForm 159 159 // … … 161 161 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 162 162 this.ClientSize = new System.Drawing.Size(666, 546); 163 this.Controls.Add(this.aboutButton); 163 164 this.Controls.Add(this.showDetailsButton); 164 165 this.Controls.Add(this.showLargeIconsButton); … … 185 186 private System.Windows.Forms.RadioButton showLargeIconsButton; 186 187 private System.Windows.Forms.RadioButton showDetailsButton; 188 private System.Windows.Forms.Button aboutButton; 187 189 } 188 190 } -
trunk/sources/HeuristicLab.PluginInfrastructure/Starter/StarterForm.cs
r3697 r3736 60 60 pluginManager = new PluginManager(pluginPath); 61 61 splashScreen = new SplashScreen(pluginManager, 1000); 62 splashScreen.Show(this, "Loading HeuristicLab...");62 splashScreen.Show(this, "Loading HeuristicLab..."); 63 63 64 64 pluginManager.DiscoverAndCheckPlugins(); 65 66 65 UpdateApplicationsList(); 67 66 } … … 202 201 } 203 202 203 private void aboutButton_Click(object sender, EventArgs e) { 204 List<IPluginDescription> plugins = new List<IPluginDescription>(pluginManager.Plugins.OfType<IPluginDescription>()); 205 var dialog = new AboutDialog(plugins); 206 dialog.ShowDialog(); 207 } 204 208 } 205 209 }
Note: See TracChangeset
for help on using the changeset viewer.