Changeset 600 for trunk/sources
- Timestamp:
- 09/26/08 11:50:02 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure.GUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/ManagerForm.cs
r140 r600 1002 1002 } 1003 1003 1004 private void pluginTreeView_Key Press(object sender, KeyPressEventArgs e) {1004 private void pluginTreeView_KeyDown(object sender, KeyEventArgs e) { 1005 1005 e.Handled = true; 1006 if(e.KeyChar == 'i' && installButton.Enabled) { 1006 e.SuppressKeyPress = true; 1007 if(e.KeyData == Keys.I && installButton.Enabled) { 1007 1008 installButton_Clicked(sender, e); 1008 } else if( e.KeyChar == 'd'&& deleteButton.Enabled) {1009 } else if((e.KeyData == Keys.D || e.KeyData==Keys.Delete) && deleteButton.Enabled) { 1009 1010 removeButton_Clicked(sender, e); 1010 1011 } -
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/ManagerForm.designer.cs
r140 r600 115 115 // 116 116 this.managePluginSourcesToolStripMenuItem.Name = "managePluginSourcesToolStripMenuItem"; 117 this.managePluginSourcesToolStripMenuItem.Size = new System.Drawing.Size( 195, 22);117 this.managePluginSourcesToolStripMenuItem.Size = new System.Drawing.Size(206, 22); 118 118 this.managePluginSourcesToolStripMenuItem.Text = "Edit plugin sources..."; 119 119 this.managePluginSourcesToolStripMenuItem.Click += new System.EventHandler(this.managePluginSourcesToolStripMenuItem_Click); … … 122 122 // 123 123 this.installPluginFromFileToolStripMenuItem.Name = "installPluginFromFileToolStripMenuItem"; 124 this.installPluginFromFileToolStripMenuItem.Size = new System.Drawing.Size( 195, 22);124 this.installPluginFromFileToolStripMenuItem.Size = new System.Drawing.Size(206, 22); 125 125 this.installPluginFromFileToolStripMenuItem.Text = "Install plugin from file..."; 126 126 this.installPluginFromFileToolStripMenuItem.Click += new System.EventHandler(this.installPluginFromFileToolStripMenuItem_Click); … … 129 129 // 130 130 this.toolStripSeparator2.Name = "toolStripSeparator2"; 131 this.toolStripSeparator2.Size = new System.Drawing.Size( 192, 6);131 this.toolStripSeparator2.Size = new System.Drawing.Size(203, 6); 132 132 // 133 133 // installedPluginsToolStripMenuItem 134 134 // 135 135 this.installedPluginsToolStripMenuItem.Name = "installedPluginsToolStripMenuItem"; 136 this.installedPluginsToolStripMenuItem.Size = new System.Drawing.Size( 195, 22);136 this.installedPluginsToolStripMenuItem.Size = new System.Drawing.Size(206, 22); 137 137 this.installedPluginsToolStripMenuItem.Text = "Update"; 138 138 this.installedPluginsToolStripMenuItem.Click += new System.EventHandler(this.updateButton_Click); … … 141 141 // 142 142 this.installNewPluginsToolStripMenuItem.Name = "installNewPluginsToolStripMenuItem"; 143 this.installNewPluginsToolStripMenuItem.Size = new System.Drawing.Size( 195, 22);143 this.installNewPluginsToolStripMenuItem.Size = new System.Drawing.Size(206, 22); 144 144 this.installNewPluginsToolStripMenuItem.Text = "Delete/Upgrade/Install..."; 145 145 this.installNewPluginsToolStripMenuItem.Click += new System.EventHandler(this.upgradeButton_Click); … … 148 148 // 149 149 this.toolStripSeparator3.Name = "toolStripSeparator3"; 150 this.toolStripSeparator3.Size = new System.Drawing.Size( 192, 6);150 this.toolStripSeparator3.Size = new System.Drawing.Size(203, 6); 151 151 // 152 152 // refreshPluginListToolStripMenuItem 153 153 // 154 154 this.refreshPluginListToolStripMenuItem.Name = "refreshPluginListToolStripMenuItem"; 155 this.refreshPluginListToolStripMenuItem.Size = new System.Drawing.Size( 195, 22);155 this.refreshPluginListToolStripMenuItem.Size = new System.Drawing.Size(206, 22); 156 156 this.refreshPluginListToolStripMenuItem.Text = "Refresh plugin list"; 157 157 this.refreshPluginListToolStripMenuItem.Click += new System.EventHandler(this.refreshPluginListToolStripMenuItem_Click); … … 160 160 // 161 161 this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; 162 this.exitToolStripMenuItem.Size = new System.Drawing.Size( 195, 22);162 this.exitToolStripMenuItem.Size = new System.Drawing.Size(206, 22); 163 163 this.exitToolStripMenuItem.Text = "Close"; 164 164 this.exitToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click); … … 175 175 // 176 176 this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; 177 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(1 15, 22);177 this.aboutToolStripMenuItem.Size = new System.Drawing.Size(126, 22); 178 178 this.aboutToolStripMenuItem.Text = "About..."; 179 179 this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click); … … 209 209 this.pluginTreeView.Size = new System.Drawing.Size(828, 220); 210 210 this.pluginTreeView.TabIndex = 0; 211 this.pluginTreeView.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.pluginTreeView_KeyPress);212 211 this.pluginTreeView.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.pluginTreeView_NodeMouseClick); 213 212 this.pluginTreeView.BeforeSelect += new System.Windows.Forms.TreeViewCancelEventHandler(this.pluginTreeView_BeforeSelect); 213 this.pluginTreeView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.pluginTreeView_KeyDown); 214 214 // 215 215 // pluginIcons … … 317 317 this.publishMenuItem}); 318 318 this.pluginContextMenuStrip.Name = "pluginContextMenuStrip"; 319 this.pluginContextMenuStrip.Size = new System.Drawing.Size(1 08, 70);319 this.pluginContextMenuStrip.Size = new System.Drawing.Size(119, 70); 320 320 // 321 321 // installMenuItem 322 322 // 323 323 this.installMenuItem.Name = "installMenuItem"; 324 this.installMenuItem.Size = new System.Drawing.Size(1 07, 22);324 this.installMenuItem.Size = new System.Drawing.Size(118, 22); 325 325 this.installMenuItem.Text = "Install"; 326 326 this.installMenuItem.Click += new System.EventHandler(this.installButton_Clicked); … … 329 329 // 330 330 this.deleteMenuItem.Name = "deleteMenuItem"; 331 this.deleteMenuItem.Size = new System.Drawing.Size(1 07, 22);331 this.deleteMenuItem.Size = new System.Drawing.Size(118, 22); 332 332 this.deleteMenuItem.Text = "Delete"; 333 333 this.deleteMenuItem.Click += new System.EventHandler(this.removeButton_Clicked); … … 336 336 // 337 337 this.publishMenuItem.Name = "publishMenuItem"; 338 this.publishMenuItem.Size = new System.Drawing.Size(1 07, 22);338 this.publishMenuItem.Size = new System.Drawing.Size(118, 22); 339 339 this.publishMenuItem.Text = "Publish"; 340 340 this.publishMenuItem.Click += new System.EventHandler(this.publishButton_Click);
Note: See TracChangeset
for help on using the changeset viewer.