Changeset 12207
- Timestamp:
- 03/16/15 16:26:48 (10 years ago)
- Location:
- branches/NewItemDialog/HeuristicLab.Optimizer/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/NewItemDialog/HeuristicLab.Optimizer/3.3/NewItemDialog.Designer.cs
r12206 r12207 54 54 this.availableItemsGroupBox = new System.Windows.Forms.GroupBox(); 55 55 this.searchTextBox = new System.Windows.Forms.TextBox(); 56 this.clearSearchButton = new System.Windows.Forms.Button(); 56 57 this.typesTreeView = new System.Windows.Forms.TreeView(); 57 58 this.imageList = new System.Windows.Forms.ImageList(this.components); … … 72 73 this.splitContainer.SuspendLayout(); 73 74 this.availableItemsGroupBox.SuspendLayout(); 75 this.searchTextBox.SuspendLayout(); 74 76 this.descriptionGroupBox.SuspendLayout(); 75 77 this.contextMenuStrip.SuspendLayout(); … … 150 152 | System.Windows.Forms.AnchorStyles.Left) 151 153 | System.Windows.Forms.AnchorStyles.Right))); 154 this.searchTextBox.Controls.Add(this.clearSearchButton); 152 155 this.searchTextBox.Location = new System.Drawing.Point(32, 17); 153 156 this.searchTextBox.Name = "searchTextBox"; … … 155 158 this.searchTextBox.TabIndex = 1; 156 159 this.searchTextBox.TextChanged += new System.EventHandler(this.searchTextBox_TextChanged); 160 // 161 // clearSearchButton 162 // 163 this.clearSearchButton.BackColor = System.Drawing.Color.Transparent; 164 this.clearSearchButton.Cursor = System.Windows.Forms.Cursors.Default; 165 this.clearSearchButton.Dock = System.Windows.Forms.DockStyle.Right; 166 this.clearSearchButton.FlatAppearance.BorderSize = 0; 167 this.clearSearchButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 168 this.clearSearchButton.ForeColor = System.Drawing.Color.Transparent; 169 this.clearSearchButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Delete; 170 this.clearSearchButton.Location = new System.Drawing.Point(543, 0); 171 this.clearSearchButton.Margin = new System.Windows.Forms.Padding(0); 172 this.clearSearchButton.Name = "clearSearchButton"; 173 this.clearSearchButton.Size = new System.Drawing.Size(15, 16); 174 this.clearSearchButton.TabIndex = 0; 175 this.clearSearchButton.TabStop = false; 176 this.clearSearchButton.UseVisualStyleBackColor = false; 177 this.clearSearchButton.Click += new System.EventHandler(this.clearSearchButton_Click); 157 178 // 158 179 // typesTreeView … … 262 283 this.collapseAllToolStripMenuItem}); 263 284 this.contextMenuStrip.Name = "contextMenuStrip"; 264 this.contextMenuStrip.Size = new System.Drawing.Size(1 53, 114);285 this.contextMenuStrip.Size = new System.Drawing.Size(137, 92); 265 286 // 266 287 // expandToolStripMenuItem 267 288 // 268 289 this.expandToolStripMenuItem.Name = "expandToolStripMenuItem"; 269 this.expandToolStripMenuItem.Size = new System.Drawing.Size(1 52, 22);290 this.expandToolStripMenuItem.Size = new System.Drawing.Size(136, 22); 270 291 this.expandToolStripMenuItem.Text = "Expand"; 271 292 this.expandToolStripMenuItem.Click += new System.EventHandler(this.expandToolStripMenuItem_Click); … … 274 295 // 275 296 this.expandAllToolStripMenuItem.Name = "expandAllToolStripMenuItem"; 276 this.expandAllToolStripMenuItem.Size = new System.Drawing.Size(1 52, 22);297 this.expandAllToolStripMenuItem.Size = new System.Drawing.Size(136, 22); 277 298 this.expandAllToolStripMenuItem.Text = "Expand All"; 278 299 this.expandAllToolStripMenuItem.Click += new System.EventHandler(this.expandAllToolStripMenuItem_Click); … … 281 302 // 282 303 this.collapseToolStripMenuItem.Name = "collapseToolStripMenuItem"; 283 this.collapseToolStripMenuItem.Size = new System.Drawing.Size(1 52, 22);304 this.collapseToolStripMenuItem.Size = new System.Drawing.Size(136, 22); 284 305 this.collapseToolStripMenuItem.Text = "Collapse"; 285 306 this.collapseToolStripMenuItem.Click += new System.EventHandler(this.collapseToolStripMenuItem_Click); … … 288 309 // 289 310 this.collapseAllToolStripMenuItem.Name = "collapseAllToolStripMenuItem"; 290 this.collapseAllToolStripMenuItem.Size = new System.Drawing.Size(1 52, 22);311 this.collapseAllToolStripMenuItem.Size = new System.Drawing.Size(136, 22); 291 312 this.collapseAllToolStripMenuItem.Text = "Collapse All"; 292 313 this.collapseAllToolStripMenuItem.Click += new System.EventHandler(this.collapseAllToolStripMenuItem_Click); … … 319 340 this.availableItemsGroupBox.ResumeLayout(false); 320 341 this.availableItemsGroupBox.PerformLayout(); 342 this.searchTextBox.ResumeLayout(false); 321 343 this.descriptionGroupBox.ResumeLayout(false); 322 344 this.descriptionGroupBox.PerformLayout(); … … 348 370 private System.Windows.Forms.ToolStripMenuItem collapseToolStripMenuItem; 349 371 private System.Windows.Forms.ToolStripMenuItem collapseAllToolStripMenuItem; 372 private System.Windows.Forms.Button clearSearchButton; 350 373 } 351 374 } -
branches/NewItemDialog/HeuristicLab.Optimizer/3.3/NewItemDialog.cs
r12206 r12207 308 308 typesTreeView.CollapseAll(); 309 309 } 310 311 private void clearSearchButton_Click(object sender, EventArgs e) { 312 searchTextBox.Text = string.Empty; 313 searchTextBox.Focus(); 314 } 310 315 } 311 316 }
Note: See TracChangeset
for help on using the changeset viewer.