Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/16/15 16:26:48 (10 years ago)
Author:
pfleck
Message:

#2025 Add clear search button.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NewItemDialog/HeuristicLab.Optimizer/3.3/NewItemDialog.Designer.cs

    r12206 r12207  
    5454      this.availableItemsGroupBox = new System.Windows.Forms.GroupBox();
    5555      this.searchTextBox = new System.Windows.Forms.TextBox();
     56      this.clearSearchButton = new System.Windows.Forms.Button();
    5657      this.typesTreeView = new System.Windows.Forms.TreeView();
    5758      this.imageList = new System.Windows.Forms.ImageList(this.components);
     
    7273      this.splitContainer.SuspendLayout();
    7374      this.availableItemsGroupBox.SuspendLayout();
     75      this.searchTextBox.SuspendLayout();
    7476      this.descriptionGroupBox.SuspendLayout();
    7577      this.contextMenuStrip.SuspendLayout();
     
    150152            | System.Windows.Forms.AnchorStyles.Left)
    151153            | System.Windows.Forms.AnchorStyles.Right)));
     154      this.searchTextBox.Controls.Add(this.clearSearchButton);
    152155      this.searchTextBox.Location = new System.Drawing.Point(32, 17);
    153156      this.searchTextBox.Name = "searchTextBox";
     
    155158      this.searchTextBox.TabIndex = 1;
    156159      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);
    157178      //
    158179      // typesTreeView
     
    262283            this.collapseAllToolStripMenuItem});
    263284      this.contextMenuStrip.Name = "contextMenuStrip";
    264       this.contextMenuStrip.Size = new System.Drawing.Size(153, 114);
     285      this.contextMenuStrip.Size = new System.Drawing.Size(137, 92);
    265286      //
    266287      // expandToolStripMenuItem
    267288      //
    268289      this.expandToolStripMenuItem.Name = "expandToolStripMenuItem";
    269       this.expandToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     290      this.expandToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
    270291      this.expandToolStripMenuItem.Text = "Expand";
    271292      this.expandToolStripMenuItem.Click += new System.EventHandler(this.expandToolStripMenuItem_Click);
     
    274295      //
    275296      this.expandAllToolStripMenuItem.Name = "expandAllToolStripMenuItem";
    276       this.expandAllToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     297      this.expandAllToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
    277298      this.expandAllToolStripMenuItem.Text = "Expand All";
    278299      this.expandAllToolStripMenuItem.Click += new System.EventHandler(this.expandAllToolStripMenuItem_Click);
     
    281302      //
    282303      this.collapseToolStripMenuItem.Name = "collapseToolStripMenuItem";
    283       this.collapseToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     304      this.collapseToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
    284305      this.collapseToolStripMenuItem.Text = "Collapse";
    285306      this.collapseToolStripMenuItem.Click += new System.EventHandler(this.collapseToolStripMenuItem_Click);
     
    288309      //
    289310      this.collapseAllToolStripMenuItem.Name = "collapseAllToolStripMenuItem";
    290       this.collapseAllToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     311      this.collapseAllToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
    291312      this.collapseAllToolStripMenuItem.Text = "Collapse All";
    292313      this.collapseAllToolStripMenuItem.Click += new System.EventHandler(this.collapseAllToolStripMenuItem_Click);
     
    319340      this.availableItemsGroupBox.ResumeLayout(false);
    320341      this.availableItemsGroupBox.PerformLayout();
     342      this.searchTextBox.ResumeLayout(false);
    321343      this.descriptionGroupBox.ResumeLayout(false);
    322344      this.descriptionGroupBox.PerformLayout();
     
    348370    private System.Windows.Forms.ToolStripMenuItem collapseToolStripMenuItem;
    349371    private System.Windows.Forms.ToolStripMenuItem collapseAllToolStripMenuItem;
     372    private System.Windows.Forms.Button clearSearchButton;
    350373  }
    351374}
Note: See TracChangeset for help on using the changeset viewer.