Free cookie consent management tool by TermsFeed Policy Generator

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

#2025

  • Changed ListView to TreeView.
  • Added search bar, but is is not working yet.
File:
1 edited

Legend:

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

    r12012 r12184  
    4646    private void InitializeComponent() {
    4747      this.components = new System.ComponentModel.Container();
     48      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NewItemDialog));
    4849      this.okButton = new System.Windows.Forms.Button();
    4950      this.cancelButton = new System.Windows.Forms.Button();
    50       this.itemsListView = new System.Windows.Forms.ListView();
    51       this.nameColumnHeader = new System.Windows.Forms.ColumnHeader();
    52       this.descriptioncolumnHeader = new System.Windows.Forms.ColumnHeader();
    5351      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    54       this.versionColumnHeader = new System.Windows.Forms.ColumnHeader();
     52      this.searchLabel = new System.Windows.Forms.Label();
     53      this.splitContainer = new System.Windows.Forms.SplitContainer();
     54      this.searchTextBox = new System.Windows.Forms.TextBox();
     55      this.typesTreeView = new System.Windows.Forms.TreeView();
     56      this.imageList = new System.Windows.Forms.ImageList(this.components);
     57      this.descriptionTextBox = new System.Windows.Forms.TextBox();
     58      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
     59      this.splitContainer.Panel1.SuspendLayout();
     60      this.splitContainer.Panel2.SuspendLayout();
     61      this.splitContainer.SuspendLayout();
    5562      this.SuspendLayout();
    5663      //
     
    7986      this.cancelButton.UseVisualStyleBackColor = true;
    8087      //
    81       // itemsListView
    82       //
    83       this.itemsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    84                   | System.Windows.Forms.AnchorStyles.Left)
    85                   | System.Windows.Forms.AnchorStyles.Right)));
    86       this.itemsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
    87             this.nameColumnHeader,
    88             this.versionColumnHeader,
    89             this.descriptioncolumnHeader});
    90       this.itemsListView.FullRowSelect = true;
    91       this.itemsListView.HideSelection = false;
    92       this.itemsListView.Location = new System.Drawing.Point(12, 12);
    93       this.itemsListView.MultiSelect = false;
    94       this.itemsListView.Name = "itemsListView";
    95       this.itemsListView.Size = new System.Drawing.Size(600, 391);
    96       this.itemsListView.TabIndex = 1;
    97       this.itemsListView.UseCompatibleStateImageBehavior = false;
    98       this.itemsListView.View = System.Windows.Forms.View.Details;
    99       this.itemsListView.SelectedIndexChanged += new System.EventHandler(this.itemTypesListView_SelectedIndexChanged);
    100       this.itemsListView.DoubleClick += new System.EventHandler(this.itemTypesListView_DoubleClick);
    101       //
    102       // nameColumnHeader
    103       //
    104       this.nameColumnHeader.DisplayIndex = 0;
    105       this.nameColumnHeader.Text = "Name";
    106       this.nameColumnHeader.Width = 91;
    107       //
    108       // descriptioncolumnHeader
    109       //
    110       this.descriptioncolumnHeader.DisplayIndex = 2;
    111       this.descriptioncolumnHeader.Text = "Description";
    112       this.descriptioncolumnHeader.Width = 190;
    113       //
    114       // versionColumnHeader
    115       //
    116       this.versionColumnHeader.DisplayIndex = 1;
    117       this.versionColumnHeader.Text = "Version";
     88      // searchLabel
     89      //
     90      this.searchLabel.Image = ((System.Drawing.Image)(resources.GetObject("searchLabel.Image")));
     91      this.searchLabel.Location = new System.Drawing.Point(3, 3);
     92      this.searchLabel.Name = "searchLabel";
     93      this.searchLabel.Size = new System.Drawing.Size(20, 20);
     94      this.searchLabel.TabIndex = 1;
     95      this.toolTip.SetToolTip(this.searchLabel, "Enter string to search for items");
     96      //
     97      // splitContainer
     98      //
     99      this.splitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     100            | System.Windows.Forms.AnchorStyles.Left)
     101            | System.Windows.Forms.AnchorStyles.Right)));
     102      this.splitContainer.Location = new System.Drawing.Point(12, 12);
     103      this.splitContainer.Name = "splitContainer";
     104      this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
     105      //
     106      // splitContainer.Panel1
     107      //
     108      this.splitContainer.Panel1.Controls.Add(this.searchLabel);
     109      this.splitContainer.Panel1.Controls.Add(this.searchTextBox);
     110      this.splitContainer.Panel1.Controls.Add(this.typesTreeView);
     111      //
     112      // splitContainer.Panel2
     113      //
     114      this.splitContainer.Panel2.Controls.Add(this.descriptionTextBox);
     115      this.splitContainer.Size = new System.Drawing.Size(600, 391);
     116      this.splitContainer.SplitterDistance = 292;
     117      this.splitContainer.TabIndex = 4;
     118      //
     119      // searchTextBox
     120      //
     121      this.searchTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     122            | System.Windows.Forms.AnchorStyles.Right)));
     123      this.searchTextBox.Location = new System.Drawing.Point(29, 3);
     124      this.searchTextBox.Name = "searchTextBox";
     125      this.searchTextBox.Size = new System.Drawing.Size(568, 20);
     126      this.searchTextBox.TabIndex = 1;
     127      this.searchTextBox.TextChanged += new System.EventHandler(this.searchTextBox_TextChanged);
     128      //
     129      // typesTreeView
     130      //
     131      this.typesTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     132            | System.Windows.Forms.AnchorStyles.Left)
     133            | System.Windows.Forms.AnchorStyles.Right)));
     134      this.typesTreeView.HideSelection = false;
     135      this.typesTreeView.ImageIndex = 0;
     136      this.typesTreeView.ImageList = this.imageList;
     137      this.typesTreeView.Location = new System.Drawing.Point(3, 29);
     138      this.typesTreeView.Name = "typesTreeView";
     139      this.typesTreeView.SelectedImageIndex = 0;
     140      this.typesTreeView.ShowNodeToolTips = true;
     141      this.typesTreeView.Size = new System.Drawing.Size(594, 260);
     142      this.typesTreeView.TabIndex = 2;
     143      this.typesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.itemsTreeView_AfterSelect);
     144      this.typesTreeView.VisibleChanged += new System.EventHandler(this.itemsTreeView_VisibleChanged);
     145      this.typesTreeView.DoubleClick += new System.EventHandler(this.itemTreeView_DoubleClick);
     146      //
     147      // imageList
     148      //
     149      this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     150      this.imageList.ImageSize = new System.Drawing.Size(16, 16);
     151      this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     152      //
     153      // descriptionTextBox
     154      //
     155      this.descriptionTextBox.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     156      this.descriptionTextBox.Location = new System.Drawing.Point(3, 3);
     157      this.descriptionTextBox.Multiline = true;
     158      this.descriptionTextBox.Name = "descriptionTextBox";
     159      this.descriptionTextBox.ReadOnly = true;
     160      this.descriptionTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     161      this.descriptionTextBox.Size = new System.Drawing.Size(594, 89);
     162      this.descriptionTextBox.TabIndex = 0;
    118163      //
    119164      // NewItemDialog
    120165      //
    121166      this.AcceptButton = this.okButton;
    122       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    123167      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    124168      this.CancelButton = this.cancelButton;
    125169      this.ClientSize = new System.Drawing.Size(624, 444);
    126       this.Controls.Add(this.itemsListView);
     170      this.Controls.Add(this.splitContainer);
    127171      this.Controls.Add(this.cancelButton);
    128172      this.Controls.Add(this.okButton);
     
    137181      this.Load += new System.EventHandler(this.NewItemDialog_Load);
    138182      this.Shown += new System.EventHandler(this.NewItemDialog_Shown);
     183      this.splitContainer.Panel1.ResumeLayout(false);
     184      this.splitContainer.Panel1.PerformLayout();
     185      this.splitContainer.Panel2.ResumeLayout(false);
     186      this.splitContainer.Panel2.PerformLayout();
     187      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
     188      this.splitContainer.ResumeLayout(false);
    139189      this.ResumeLayout(false);
    140190
     
    145195    private System.Windows.Forms.Button okButton;
    146196    private System.Windows.Forms.Button cancelButton;
    147     private System.Windows.Forms.ListView itemsListView;
    148197    private System.Windows.Forms.ToolTip toolTip;
    149     private System.Windows.Forms.ColumnHeader nameColumnHeader;
    150     private System.Windows.Forms.ColumnHeader descriptioncolumnHeader;
    151     private System.Windows.Forms.ColumnHeader versionColumnHeader;
     198    private System.Windows.Forms.SplitContainer splitContainer;
     199    private System.Windows.Forms.TextBox descriptionTextBox;
     200    private System.Windows.Forms.Label searchLabel;
     201    private System.Windows.Forms.TextBox searchTextBox;
     202    private System.Windows.Forms.TreeView typesTreeView;
     203    private System.Windows.Forms.ImageList imageList;
    152204  }
    153205}
Note: See TracChangeset for help on using the changeset viewer.