Free cookie consent management tool by TermsFeed Policy Generator

source: branches/NewItemDialog/HeuristicLab.Optimizer/3.3/NewItemDialog.Designer.cs @ 12215

Last change on this file since 12215 was 12215, checked in by pfleck, 8 years ago

#2025

  • Added hierarchical structure for creatables (parsed from name).
  • Started adapting search to hierarchical structure.
  • Start implemented cursor navigation in treeview while focused searchbox.
File size: 19.5 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22namespace HeuristicLab.Optimizer {
23  partial class NewItemDialog {
24    /// <summary>
25    /// Required designer variable.
26    /// </summary>
27    private System.ComponentModel.IContainer components = null;
28
29    /// <summary>
30    /// Clean up any resources being used.
31    /// </summary>
32    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
33    protected override void Dispose(bool disposing) {
34      if (disposing && (components != null)) {
35        components.Dispose();
36      }
37      base.Dispose(disposing);
38    }
39
40    #region Windows Form Designer generated code
41
42    /// <summary>
43    /// Required method for Designer support - do not modify
44    /// the contents of this method with the code editor.
45    /// </summary>
46    private void InitializeComponent() {
47      this.components = new System.ComponentModel.Container();
48      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NewItemDialog));
49      this.okButton = new System.Windows.Forms.Button();
50      this.cancelButton = new System.Windows.Forms.Button();
51      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
52      this.searchLabel = new System.Windows.Forms.Label();
53      this.splitContainer = new System.Windows.Forms.SplitContainer();
54      this.availableItemsGroupBox = new System.Windows.Forms.GroupBox();
55      this.searchTextBox = new System.Windows.Forms.TextBox();
56      this.clearSearchButton = new System.Windows.Forms.Button();
57      this.typesTreeView = new System.Windows.Forms.TreeView();
58      this.imageList = new System.Windows.Forms.ImageList(this.components);
59      this.descriptionGroupBox = new System.Windows.Forms.GroupBox();
60      this.versionTextBox = new System.Windows.Forms.TextBox();
61      this.pluginTextBox = new System.Windows.Forms.TextBox();
62      this.descriptionTextBox = new System.Windows.Forms.TextBox();
63      this.expandAllButton = new System.Windows.Forms.Button();
64      this.collapseAllButton = new System.Windows.Forms.Button();
65      this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
66      this.expandToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
67      this.expandAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
68      this.collapseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
69      this.collapseAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
70      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
71      this.splitContainer.Panel1.SuspendLayout();
72      this.splitContainer.Panel2.SuspendLayout();
73      this.splitContainer.SuspendLayout();
74      this.availableItemsGroupBox.SuspendLayout();
75      this.searchTextBox.SuspendLayout();
76      this.descriptionGroupBox.SuspendLayout();
77      this.contextMenuStrip.SuspendLayout();
78      this.SuspendLayout();
79      //
80      // okButton
81      //
82      this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
83      this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
84      this.okButton.Enabled = false;
85      this.okButton.Location = new System.Drawing.Point(456, 502);
86      this.okButton.Name = "okButton";
87      this.okButton.Size = new System.Drawing.Size(75, 23);
88      this.okButton.TabIndex = 1;
89      this.okButton.Text = "&OK";
90      this.okButton.UseVisualStyleBackColor = true;
91      this.okButton.Click += new System.EventHandler(this.okButton_Click);
92      //
93      // cancelButton
94      //
95      this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
96      this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
97      this.cancelButton.Location = new System.Drawing.Point(537, 502);
98      this.cancelButton.Name = "cancelButton";
99      this.cancelButton.Size = new System.Drawing.Size(75, 23);
100      this.cancelButton.TabIndex = 2;
101      this.cancelButton.Text = "&Cancel";
102      this.cancelButton.UseVisualStyleBackColor = true;
103      //
104      // searchLabel
105      //
106      this.searchLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Zoom;
107      this.searchLabel.Location = new System.Drawing.Point(6, 17);
108      this.searchLabel.Name = "searchLabel";
109      this.searchLabel.Size = new System.Drawing.Size(20, 20);
110      this.searchLabel.TabIndex = 0;
111      this.toolTip.SetToolTip(this.searchLabel, "Enter string to search for items");
112      //
113      // splitContainer
114      //
115      this.splitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
116            | System.Windows.Forms.AnchorStyles.Left)
117            | System.Windows.Forms.AnchorStyles.Right)));
118      this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
119      this.splitContainer.Location = new System.Drawing.Point(12, 12);
120      this.splitContainer.Name = "splitContainer";
121      this.splitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
122      //
123      // splitContainer.Panel1
124      //
125      this.splitContainer.Panel1.Controls.Add(this.availableItemsGroupBox);
126      //
127      // splitContainer.Panel2
128      //
129      this.splitContainer.Panel2.Controls.Add(this.descriptionGroupBox);
130      this.splitContainer.Size = new System.Drawing.Size(600, 484);
131      this.splitContainer.SplitterDistance = 373;
132      this.splitContainer.TabIndex = 0;
133      this.splitContainer.TabStop = false;
134      //
135      // availableItemsGroupBox
136      //
137      this.availableItemsGroupBox.Controls.Add(this.searchLabel);
138      this.availableItemsGroupBox.Controls.Add(this.searchTextBox);
139      this.availableItemsGroupBox.Controls.Add(this.typesTreeView);
140      this.availableItemsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
141      this.availableItemsGroupBox.Location = new System.Drawing.Point(0, 0);
142      this.availableItemsGroupBox.Name = "availableItemsGroupBox";
143      this.availableItemsGroupBox.Padding = new System.Windows.Forms.Padding(3, 15, 3, 3);
144      this.availableItemsGroupBox.Size = new System.Drawing.Size(600, 373);
145      this.availableItemsGroupBox.TabIndex = 5;
146      this.availableItemsGroupBox.TabStop = false;
147      this.availableItemsGroupBox.Text = "Available Items";
148      //
149      // searchTextBox
150      //
151      this.searchTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
152            | System.Windows.Forms.AnchorStyles.Left)
153            | System.Windows.Forms.AnchorStyles.Right)));
154      this.searchTextBox.Controls.Add(this.clearSearchButton);
155      this.searchTextBox.Location = new System.Drawing.Point(32, 17);
156      this.searchTextBox.Name = "searchTextBox";
157      this.searchTextBox.Size = new System.Drawing.Size(562, 20);
158      this.searchTextBox.TabIndex = 1;
159      this.searchTextBox.TextChanged += new System.EventHandler(this.searchTextBox_TextChanged);
160      this.searchTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.searchTextBox_KeyDown);
161      //
162      // clearSearchButton
163      //
164      this.clearSearchButton.BackColor = System.Drawing.Color.Transparent;
165      this.clearSearchButton.Cursor = System.Windows.Forms.Cursors.Default;
166      this.clearSearchButton.Dock = System.Windows.Forms.DockStyle.Right;
167      this.clearSearchButton.FlatAppearance.BorderSize = 0;
168      this.clearSearchButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
169      this.clearSearchButton.ForeColor = System.Drawing.Color.Transparent;
170      this.clearSearchButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Delete;
171      this.clearSearchButton.Location = new System.Drawing.Point(543, 0);
172      this.clearSearchButton.Margin = new System.Windows.Forms.Padding(0);
173      this.clearSearchButton.Name = "clearSearchButton";
174      this.clearSearchButton.Size = new System.Drawing.Size(15, 16);
175      this.clearSearchButton.TabIndex = 0;
176      this.clearSearchButton.TabStop = false;
177      this.clearSearchButton.UseVisualStyleBackColor = false;
178      this.clearSearchButton.Click += new System.EventHandler(this.clearSearchButton_Click);
179      //
180      // typesTreeView
181      //
182      this.typesTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
183            | System.Windows.Forms.AnchorStyles.Left)
184            | System.Windows.Forms.AnchorStyles.Right)));
185      this.typesTreeView.HideSelection = false;
186      this.typesTreeView.ImageIndex = 0;
187      this.typesTreeView.ImageList = this.imageList;
188      this.typesTreeView.Location = new System.Drawing.Point(6, 41);
189      this.typesTreeView.Name = "typesTreeView";
190      this.typesTreeView.SelectedImageIndex = 0;
191      this.typesTreeView.ShowNodeToolTips = true;
192      this.typesTreeView.Size = new System.Drawing.Size(588, 326);
193      this.typesTreeView.TabIndex = 2;
194      this.typesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.itemsTreeView_AfterSelect);
195      this.typesTreeView.VisibleChanged += new System.EventHandler(this.itemsTreeView_VisibleChanged);
196      this.typesTreeView.DoubleClick += new System.EventHandler(this.itemTreeView_DoubleClick);
197      this.typesTreeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.typesTreeView_MouseDown);
198      //
199      // imageList
200      //
201      this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
202      this.imageList.ImageSize = new System.Drawing.Size(16, 16);
203      this.imageList.TransparentColor = System.Drawing.Color.Transparent;
204      //
205      // descriptionGroupBox
206      //
207      this.descriptionGroupBox.Controls.Add(this.versionTextBox);
208      this.descriptionGroupBox.Controls.Add(this.pluginTextBox);
209      this.descriptionGroupBox.Controls.Add(this.descriptionTextBox);
210      this.descriptionGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
211      this.descriptionGroupBox.Location = new System.Drawing.Point(0, 0);
212      this.descriptionGroupBox.Name = "descriptionGroupBox";
213      this.descriptionGroupBox.Size = new System.Drawing.Size(600, 107);
214      this.descriptionGroupBox.TabIndex = 1;
215      this.descriptionGroupBox.TabStop = false;
216      this.descriptionGroupBox.Text = "Description";
217      //
218      // versionTextBox
219      //
220      this.versionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
221      this.versionTextBox.Location = new System.Drawing.Point(444, 20);
222      this.versionTextBox.Name = "versionTextBox";
223      this.versionTextBox.ReadOnly = true;
224      this.versionTextBox.Size = new System.Drawing.Size(150, 20);
225      this.versionTextBox.TabIndex = 0;
226      this.versionTextBox.TabStop = false;
227      //
228      // pluginTextBox
229      //
230      this.pluginTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
231            | System.Windows.Forms.AnchorStyles.Right)));
232      this.pluginTextBox.Location = new System.Drawing.Point(6, 20);
233      this.pluginTextBox.Name = "pluginTextBox";
234      this.pluginTextBox.ReadOnly = true;
235      this.pluginTextBox.Size = new System.Drawing.Size(432, 20);
236      this.pluginTextBox.TabIndex = 0;
237      this.pluginTextBox.TabStop = false;
238      //
239      // descriptionTextBox
240      //
241      this.descriptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
242            | System.Windows.Forms.AnchorStyles.Left)
243            | System.Windows.Forms.AnchorStyles.Right)));
244      this.descriptionTextBox.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
245      this.descriptionTextBox.Location = new System.Drawing.Point(6, 46);
246      this.descriptionTextBox.Multiline = true;
247      this.descriptionTextBox.Name = "descriptionTextBox";
248      this.descriptionTextBox.ReadOnly = true;
249      this.descriptionTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
250      this.descriptionTextBox.Size = new System.Drawing.Size(588, 55);
251      this.descriptionTextBox.TabIndex = 0;
252      this.descriptionTextBox.TabStop = false;
253      //
254      // expandAllButton
255      //
256      this.expandAllButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
257      this.expandAllButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ZoomIn;
258      this.expandAllButton.Location = new System.Drawing.Point(12, 502);
259      this.expandAllButton.Name = "expandAllButton";
260      this.expandAllButton.Size = new System.Drawing.Size(23, 23);
261      this.expandAllButton.TabIndex = 0;
262      this.expandAllButton.TabStop = false;
263      this.expandAllButton.UseVisualStyleBackColor = true;
264      this.expandAllButton.Click += new System.EventHandler(this.expandAllButton_Click);
265      //
266      // collapseAllButton
267      //
268      this.collapseAllButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
269      this.collapseAllButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ZoomOut;
270      this.collapseAllButton.Location = new System.Drawing.Point(41, 502);
271      this.collapseAllButton.Name = "collapseAllButton";
272      this.collapseAllButton.Size = new System.Drawing.Size(23, 23);
273      this.collapseAllButton.TabIndex = 0;
274      this.collapseAllButton.TabStop = false;
275      this.collapseAllButton.UseVisualStyleBackColor = true;
276      this.collapseAllButton.Click += new System.EventHandler(this.collapseAllButton_Click);
277      //
278      // contextMenuStrip
279      //
280      this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
281            this.expandToolStripMenuItem,
282            this.expandAllToolStripMenuItem,
283            this.collapseToolStripMenuItem,
284            this.collapseAllToolStripMenuItem});
285      this.contextMenuStrip.Name = "contextMenuStrip";
286      this.contextMenuStrip.Size = new System.Drawing.Size(137, 92);
287      //
288      // expandToolStripMenuItem
289      //
290      this.expandToolStripMenuItem.Name = "expandToolStripMenuItem";
291      this.expandToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
292      this.expandToolStripMenuItem.Text = "Expand";
293      this.expandToolStripMenuItem.Click += new System.EventHandler(this.expandToolStripMenuItem_Click);
294      //
295      // expandAllToolStripMenuItem
296      //
297      this.expandAllToolStripMenuItem.Name = "expandAllToolStripMenuItem";
298      this.expandAllToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
299      this.expandAllToolStripMenuItem.Text = "Expand All";
300      this.expandAllToolStripMenuItem.Click += new System.EventHandler(this.expandAllToolStripMenuItem_Click);
301      //
302      // collapseToolStripMenuItem
303      //
304      this.collapseToolStripMenuItem.Name = "collapseToolStripMenuItem";
305      this.collapseToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
306      this.collapseToolStripMenuItem.Text = "Collapse";
307      this.collapseToolStripMenuItem.Click += new System.EventHandler(this.collapseToolStripMenuItem_Click);
308      //
309      // collapseAllToolStripMenuItem
310      //
311      this.collapseAllToolStripMenuItem.Name = "collapseAllToolStripMenuItem";
312      this.collapseAllToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
313      this.collapseAllToolStripMenuItem.Text = "Collapse All";
314      this.collapseAllToolStripMenuItem.Click += new System.EventHandler(this.collapseAllToolStripMenuItem_Click);
315      //
316      // NewItemDialog
317      //
318      this.AcceptButton = this.okButton;
319      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
320      this.CancelButton = this.cancelButton;
321      this.ClientSize = new System.Drawing.Size(624, 537);
322      this.Controls.Add(this.splitContainer);
323      this.Controls.Add(this.cancelButton);
324      this.Controls.Add(this.okButton);
325      this.Controls.Add(this.expandAllButton);
326      this.Controls.Add(this.collapseAllButton);
327      this.MaximizeBox = false;
328      this.MinimizeBox = false;
329      this.Name = "NewItemDialog";
330      this.ShowIcon = false;
331      this.ShowInTaskbar = false;
332      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
333      this.Text = "New Item";
334      this.TopMost = true;
335      this.Load += new System.EventHandler(this.NewItemDialog_Load);
336      this.Shown += new System.EventHandler(this.NewItemDialog_Shown);
337      this.splitContainer.Panel1.ResumeLayout(false);
338      this.splitContainer.Panel2.ResumeLayout(false);
339      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
340      this.splitContainer.ResumeLayout(false);
341      this.availableItemsGroupBox.ResumeLayout(false);
342      this.availableItemsGroupBox.PerformLayout();
343      this.searchTextBox.ResumeLayout(false);
344      this.descriptionGroupBox.ResumeLayout(false);
345      this.descriptionGroupBox.PerformLayout();
346      this.contextMenuStrip.ResumeLayout(false);
347      this.ResumeLayout(false);
348
349    }
350
351    #endregion
352
353    private System.Windows.Forms.Button okButton;
354    private System.Windows.Forms.Button cancelButton;
355    private System.Windows.Forms.ToolTip toolTip;
356    private System.Windows.Forms.SplitContainer splitContainer;
357    private System.Windows.Forms.TextBox descriptionTextBox;
358    private System.Windows.Forms.Label searchLabel;
359    private System.Windows.Forms.TextBox searchTextBox;
360    private System.Windows.Forms.TreeView typesTreeView;
361    private System.Windows.Forms.ImageList imageList;
362    private System.Windows.Forms.Button expandAllButton;
363    private System.Windows.Forms.Button collapseAllButton;
364    private System.Windows.Forms.GroupBox availableItemsGroupBox;
365    private System.Windows.Forms.GroupBox descriptionGroupBox;
366    private System.Windows.Forms.TextBox versionTextBox;
367    private System.Windows.Forms.TextBox pluginTextBox;
368    private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
369    private System.Windows.Forms.ToolStripMenuItem expandToolStripMenuItem;
370    private System.Windows.Forms.ToolStripMenuItem expandAllToolStripMenuItem;
371    private System.Windows.Forms.ToolStripMenuItem collapseToolStripMenuItem;
372    private System.Windows.Forms.ToolStripMenuItem collapseAllToolStripMenuItem;
373    private System.Windows.Forms.Button clearSearchButton;
374  }
375}
Note: See TracBrowser for help on using the repository browser.