Changeset 12399
- Timestamp:
- 05/26/15 14:02:50 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.Designer.cs
r12398 r12399 43 43 this.searchTextBox = new System.Windows.Forms.TextBox(); 44 44 this.clearSearchButton = new System.Windows.Forms.Button(); 45 this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); 46 this.expandToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 47 this.expandAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 48 this.collapseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 49 this.collapseAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 45 50 this.typeParametersGroupBox = new System.Windows.Forms.GroupBox(); 46 51 this.setTypeParameterButton = new System.Windows.Forms.Button(); … … 57 62 this.typeParametersSplitContainer.SuspendLayout(); 58 63 this.typeParametersGroupBox.SuspendLayout(); 64 this.contextMenuStrip.SuspendLayout(); 59 65 this.SuspendLayout(); 60 66 // … … 76 82 this.typesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.typesTreeView_AfterSelect); 77 83 this.typesTreeView.VisibleChanged += new System.EventHandler(this.typesTreeView_VisibleChanged); 84 this.typesTreeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.typesTreeView_MouseDown); 78 85 // 79 86 // imageList … … 237 244 this.descriptionTextBox.TabIndex = 0; 238 245 // 246 // contextMenuStrip 247 // 248 this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 249 this.expandToolStripMenuItem, 250 this.expandAllToolStripMenuItem, 251 this.collapseToolStripMenuItem, 252 this.collapseAllToolStripMenuItem}); 253 this.contextMenuStrip.Name = "contextMenuStrip"; 254 this.contextMenuStrip.Size = new System.Drawing.Size(137, 92); 255 // 256 // expandToolStripMenuItem 257 // 258 this.expandToolStripMenuItem.Name = "expandToolStripMenuItem"; 259 this.expandToolStripMenuItem.Size = new System.Drawing.Size(136, 22); 260 this.expandToolStripMenuItem.Text = "Expand"; 261 this.expandToolStripMenuItem.Click += new System.EventHandler(this.expandToolStripMenuItem_Click); 262 // 263 // expandAllToolStripMenuItem 264 // 265 this.expandAllToolStripMenuItem.Name = "expandAllToolStripMenuItem"; 266 this.expandAllToolStripMenuItem.Size = new System.Drawing.Size(136, 22); 267 this.expandAllToolStripMenuItem.Text = "Expand All"; 268 this.expandAllToolStripMenuItem.Click += new System.EventHandler(this.expandAllToolStripMenuItem_Click); 269 // 270 // collapseToolStripMenuItem 271 // 272 this.collapseToolStripMenuItem.Name = "collapseToolStripMenuItem"; 273 this.collapseToolStripMenuItem.Size = new System.Drawing.Size(136, 22); 274 this.collapseToolStripMenuItem.Text = "Collapse"; 275 this.collapseToolStripMenuItem.Click += new System.EventHandler(this.collapseToolStripMenuItem_Click); 276 // 277 // collapseAllToolStripMenuItem 278 // 279 this.collapseAllToolStripMenuItem.Name = "collapseAllToolStripMenuItem"; 280 this.collapseAllToolStripMenuItem.Size = new System.Drawing.Size(136, 22); 281 this.collapseAllToolStripMenuItem.Text = "Collapse All"; 282 this.collapseAllToolStripMenuItem.Click += new System.EventHandler(this.collapseAllToolStripMenuItem_Click); 283 // 239 284 // TypeSelector 240 285 // … … 254 299 this.typeParametersSplitContainer.ResumeLayout(false); 255 300 this.typeParametersGroupBox.ResumeLayout(false); 301 this.contextMenuStrip.ResumeLayout(false); 256 302 this.ResumeLayout(false); 257 303 … … 269 315 protected System.Windows.Forms.Button clearSearchButton; 270 316 protected System.Windows.Forms.ToolTip toolTip; 317 protected System.Windows.Forms.ContextMenuStrip contextMenuStrip; 318 protected System.Windows.Forms.ToolStripMenuItem expandToolStripMenuItem; 319 protected System.Windows.Forms.ToolStripMenuItem expandAllToolStripMenuItem; 320 protected System.Windows.Forms.ToolStripMenuItem collapseToolStripMenuItem; 321 protected System.Windows.Forms.ToolStripMenuItem collapseAllToolStripMenuItem; 271 322 protected System.Windows.Forms.SplitContainer typeParametersSplitContainer; 272 323 protected System.Windows.Forms.GroupBox typeParametersGroupBox; … … 274 325 protected System.Windows.Forms.Button setTypeParameterButton; 275 326 protected System.Windows.Forms.ColumnHeader columnHeader1; 276 277 327 } 278 328 } -
trunk/sources/HeuristicLab.Optimizer/3.3/NewItemDialog.cs
r12398 r12399 369 369 370 370 private void expandToolStripMenuItem_Click(object sender, EventArgs e) { 371 typesTreeView.BeginUpdate(); 371 372 if (toolStripMenuNode != null) toolStripMenuNode.ExpandAll(); 373 typesTreeView.EndUpdate(); 372 374 } 373 375 private void expandAllToolStripMenuItem_Click(object sender, EventArgs e) { 376 typesTreeView.BeginUpdate(); 374 377 typesTreeView.ExpandAll(); 378 typesTreeView.EndUpdate(); 375 379 } 376 380 private void collapseToolStripMenuItem_Click(object sender, EventArgs e) { 381 typesTreeView.BeginUpdate(); 377 382 if (toolStripMenuNode != null) toolStripMenuNode.Collapse(); 383 typesTreeView.EndUpdate(); 378 384 } 379 385 private void collapseAllToolStripMenuItem_Click(object sender, EventArgs e) { 386 typesTreeView.BeginUpdate(); 380 387 typesTreeView.CollapseAll(); 388 typesTreeView.EndUpdate(); 381 389 } 382 390
Note: See TracChangeset
for help on using the changeset viewer.