source: trunk/HeuristicLab.Core.Views/3.3/ItemArrayView.Designer.cs @ 17008

Last change on this file since 17008 was 17008, checked in by abeham, 16 months ago

#2949: Disable autosizing when there is only one column and use width of list view as size of column. In addition no update occurs on ToStringChanged when there is only one column (most common case)

File size: 12.0 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2019 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
22using System.Windows.Forms;
23
24namespace HeuristicLab.Core.Views {
25  partial class ItemArrayView<T> {
26    /// <summary>
27    /// Required designer variable.
28    /// </summary>
29    private System.ComponentModel.IContainer components = null;
30
31    #region Windows Form Designer generated code
32
33    /// <summary>
34    /// Required method for Designer support - do not modify
35    /// the contents of this method with the code editor.
36    /// </summary>
37    private void InitializeComponent() {
38      this.components = new System.ComponentModel.Container();
39      this.splitContainer = new System.Windows.Forms.SplitContainer();
40      this.addButton = new System.Windows.Forms.Button();
41      this.moveUpButton = new System.Windows.Forms.Button();
42      this.removeButton = new System.Windows.Forms.Button();
43      this.moveDownButton = new System.Windows.Forms.Button();
44      this.itemsListView = new System.Windows.Forms.ListView();
45      this.listViewColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
46      this.imageList = new System.Windows.Forms.ImageList(this.components);
47      this.detailsGroupBox = new System.Windows.Forms.GroupBox();
48      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
49      this.itemsGroupBox = new System.Windows.Forms.GroupBox();
50      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
51      this.showDetailsCheckBox = new System.Windows.Forms.CheckBox();
52      this.splitContainer.Panel1.SuspendLayout();
53      this.splitContainer.Panel2.SuspendLayout();
54      this.splitContainer.SuspendLayout();
55      this.detailsGroupBox.SuspendLayout();
56      this.itemsGroupBox.SuspendLayout();
57      this.SuspendLayout();
58      //
59      // splitContainer
60      //
61      this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
62      this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
63      this.splitContainer.Location = new System.Drawing.Point(3, 16);
64      this.splitContainer.Name = "splitContainer";
65      //
66      // splitContainer.Panel1
67      //
68      this.splitContainer.Panel1.Controls.Add(this.showDetailsCheckBox);
69      this.splitContainer.Panel1.Controls.Add(this.addButton);
70      this.splitContainer.Panel1.Controls.Add(this.moveUpButton);
71      this.splitContainer.Panel1.Controls.Add(this.removeButton);
72      this.splitContainer.Panel1.Controls.Add(this.moveDownButton);
73      this.splitContainer.Panel1.Controls.Add(this.itemsListView);
74      //
75      // splitContainer.Panel2
76      //
77      this.splitContainer.Panel2.Controls.Add(this.detailsGroupBox);
78      this.splitContainer.Size = new System.Drawing.Size(493, 323);
79      this.splitContainer.SplitterDistance = 200;
80      this.splitContainer.TabIndex = 0;
81      //
82      // addButton
83      //
84      this.addButton.Enabled = false;
85      this.addButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add;
86      this.addButton.Location = new System.Drawing.Point(3, 3);
87      this.addButton.Name = "addButton";
88      this.addButton.Size = new System.Drawing.Size(24, 24);
89      this.addButton.TabIndex = 0;
90      this.toolTip.SetToolTip(this.addButton, "Set");
91      this.addButton.UseVisualStyleBackColor = true;
92      this.addButton.Click += new System.EventHandler(this.addButton_Click);
93      //
94      // moveUpButton
95      //
96      this.moveUpButton.Enabled = false;
97      this.moveUpButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ArrowUp;
98      this.moveUpButton.Location = new System.Drawing.Point(33, 3);
99      this.moveUpButton.Name = "moveUpButton";
100      this.moveUpButton.Size = new System.Drawing.Size(24, 24);
101      this.moveUpButton.TabIndex = 1;
102      this.toolTip.SetToolTip(this.moveUpButton, "Move Up");
103      this.moveUpButton.UseVisualStyleBackColor = true;
104      this.moveUpButton.Click += new System.EventHandler(this.moveUpButton_Click);
105      //
106      // removeButton
107      //
108      this.removeButton.Enabled = false;
109      this.removeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove;
110      this.removeButton.Location = new System.Drawing.Point(93, 3);
111      this.removeButton.Name = "removeButton";
112      this.removeButton.Size = new System.Drawing.Size(24, 24);
113      this.removeButton.TabIndex = 3;
114      this.toolTip.SetToolTip(this.removeButton, "Clear");
115      this.removeButton.UseVisualStyleBackColor = true;
116      this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
117      //
118      // moveDownButton
119      //
120      this.moveDownButton.Enabled = false;
121      this.moveDownButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.ArrowDown;
122      this.moveDownButton.Location = new System.Drawing.Point(63, 3);
123      this.moveDownButton.Name = "moveDownButton";
124      this.moveDownButton.Size = new System.Drawing.Size(24, 24);
125      this.moveDownButton.TabIndex = 2;
126      this.toolTip.SetToolTip(this.moveDownButton, "Move Down");
127      this.moveDownButton.UseVisualStyleBackColor = true;
128      this.moveDownButton.Click += new System.EventHandler(this.moveDownButton_Click);
129      //
130      // itemsListView
131      //
132      this.itemsListView.AllowDrop = true;
133      this.itemsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
134                  | System.Windows.Forms.AnchorStyles.Left)
135                  | System.Windows.Forms.AnchorStyles.Right)));
136      this.itemsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
137            this.listViewColumnHeader});
138      this.itemsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
139      this.itemsListView.HideSelection = false;
140      this.itemsListView.Location = new System.Drawing.Point(3, 33);
141      this.itemsListView.Name = "itemsListView";
142      this.itemsListView.ShowItemToolTips = true;
143      this.itemsListView.Size = new System.Drawing.Size(194, 286);
144      this.itemsListView.SmallImageList = this.imageList;
145      this.itemsListView.TabIndex = 5;
146      this.itemsListView.UseCompatibleStateImageBehavior = false;
147      this.itemsListView.View = System.Windows.Forms.View.Details;
148      this.itemsListView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.itemsListView_ItemDrag);
149      this.itemsListView.SelectedIndexChanged += new System.EventHandler(this.itemsListView_SelectedIndexChanged);
150      this.itemsListView.DragDrop += new System.Windows.Forms.DragEventHandler(this.itemsListView_DragDrop);
151      this.itemsListView.DragEnter += new System.Windows.Forms.DragEventHandler(this.itemsListView_DragEnter);
152      this.itemsListView.DragOver += new System.Windows.Forms.DragEventHandler(this.itemsListView_DragOver);
153      this.itemsListView.DoubleClick += new System.EventHandler(this.itemsListView_DoubleClick);
154      this.itemsListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.itemsListView_KeyDown);
155      this.itemsListView.Layout += new System.Windows.Forms.LayoutEventHandler(this.itemsListView_Layout);
156      //
157      // listViewColumnHeader
158      //
159      this.listViewColumnHeader.Width = 190;
160      //
161      // imageList
162      //
163      this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
164      this.imageList.ImageSize = new System.Drawing.Size(16, 16);
165      this.imageList.TransparentColor = System.Drawing.Color.Transparent;
166      //
167      // detailsGroupBox
168      //
169      this.detailsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
170                  | System.Windows.Forms.AnchorStyles.Left)
171                  | System.Windows.Forms.AnchorStyles.Right)));
172      this.detailsGroupBox.Controls.Add(this.viewHost);
173      this.detailsGroupBox.Location = new System.Drawing.Point(3, 27);
174      this.detailsGroupBox.Name = "detailsGroupBox";
175      this.detailsGroupBox.Size = new System.Drawing.Size(283, 294);
176      this.detailsGroupBox.TabIndex = 0;
177      this.detailsGroupBox.TabStop = false;
178      this.detailsGroupBox.Text = "Details";
179      //
180      // viewHost
181      //
182      this.viewHost.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.viewHost.Caption = "View";
186      this.viewHost.Content = null;
187      this.viewHost.Location = new System.Drawing.Point(6, 19);
188      this.viewHost.Name = "viewHost";
189      this.viewHost.ReadOnly = false;
190      this.viewHost.Size = new System.Drawing.Size(271, 269);
191      this.viewHost.TabIndex = 0;
192      this.viewHost.ViewType = null;
193      //
194      // itemsGroupBox
195      //
196      this.itemsGroupBox.Controls.Add(this.splitContainer);
197      this.itemsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
198      this.itemsGroupBox.Location = new System.Drawing.Point(0, 0);
199      this.itemsGroupBox.Name = "itemsGroupBox";
200      this.itemsGroupBox.Size = new System.Drawing.Size(499, 342);
201      this.itemsGroupBox.TabIndex = 0;
202      this.itemsGroupBox.TabStop = false;
203      this.itemsGroupBox.Text = "Items";
204      //
205      // showDetailsCheckBox
206      //
207      this.showDetailsCheckBox.Appearance = System.Windows.Forms.Appearance.Button;
208      this.showDetailsCheckBox.Checked = true;
209      this.showDetailsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
210      this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VSImageLibrary.Properties;
211      this.showDetailsCheckBox.Location = new System.Drawing.Point(123, 3);
212      this.showDetailsCheckBox.Name = "showDetailsCheckBox";
213      this.showDetailsCheckBox.Size = new System.Drawing.Size(24, 24);
214      this.showDetailsCheckBox.TabIndex = 4;
215      this.toolTip.SetToolTip(this.showDetailsCheckBox, "Show/Hide Details");
216      this.showDetailsCheckBox.UseVisualStyleBackColor = true;
217      this.showDetailsCheckBox.CheckedChanged += new System.EventHandler(this.showDetailsCheckBox_CheckedChanged);
218      //
219      // ItemArrayView
220      //
221      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
222      this.Controls.Add(this.itemsGroupBox);
223      this.Name = "ItemArrayView";
224      this.Size = new System.Drawing.Size(499, 342);
225      this.splitContainer.Panel1.ResumeLayout(false);
226      this.splitContainer.Panel2.ResumeLayout(false);
227      this.splitContainer.ResumeLayout(false);
228      this.detailsGroupBox.ResumeLayout(false);
229      this.itemsGroupBox.ResumeLayout(false);
230      this.ResumeLayout(false);
231
232    }
233
234    #endregion
235
236    protected System.Windows.Forms.SplitContainer splitContainer;
237    protected System.Windows.Forms.ColumnHeader listViewColumnHeader;
238    protected GroupBox itemsGroupBox;
239    protected ListView itemsListView;
240    protected GroupBox detailsGroupBox;
241    protected Button moveUpButton;
242    protected Button moveDownButton;
243    protected ToolTip toolTip;
244    protected ImageList imageList;
245    protected HeuristicLab.MainForm.WindowsForms.ViewHost viewHost;
246    protected Button removeButton;
247    protected Button addButton;
248    protected CheckBox showDetailsCheckBox;
249  }
250}
Note: See TracBrowser for help on using the repository browser.