1 #region License Information
3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
5 * This file is part of HeuristicLab.
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.
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.
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/>.
22 using System
.Windows
.Forms
;
24 namespace HeuristicLab
.Core
.Views
{
25 partial class ItemArrayView
<T
> {
27 /// Required designer variable.
29 private System
.ComponentModel
.IContainer components
= null;
31 #region Windows Form Designer generated code
34 /// Required method for Designer support - do not modify
35 /// the contents of this method with the code editor.
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();
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";
66 // splitContainer.Panel1
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
);
75 // splitContainer.Panel2
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;
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
);
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
);
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
);
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
);
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
);
158 this.imageList
.ColorDepth
= System
.Windows
.Forms
.ColorDepth
.Depth8Bit
;
159 this.imageList
.ImageSize
= new System
.Drawing
.Size(16, 16);
160 this.imageList
.TransparentColor
= System
.Drawing
.Color
.Transparent
;
164 this.detailsGroupBox
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Bottom
)
165 | System
.Windows
.Forms
.AnchorStyles
.Left
)
166 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
167 this.detailsGroupBox
.Controls
.Add(this.viewHost
);
168 this.detailsGroupBox
.Location
= new System
.Drawing
.Point(3, 27);
169 this.detailsGroupBox
.Name
= "detailsGroupBox";
170 this.detailsGroupBox
.Size
= new System
.Drawing
.Size(283, 294);
171 this.detailsGroupBox
.TabIndex
= 0;
172 this.detailsGroupBox
.TabStop
= false;
173 this.detailsGroupBox
.Text
= "Details";
177 this.viewHost
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Bottom
)
178 | System
.Windows
.Forms
.AnchorStyles
.Left
)
179 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
180 this.viewHost
.Caption
= "View";
181 this.viewHost
.Content
= null;
182 this.viewHost
.Location
= new System
.Drawing
.Point(6, 19);
183 this.viewHost
.Name
= "viewHost";
184 this.viewHost
.ReadOnly
= false;
185 this.viewHost
.Size
= new System
.Drawing
.Size(271, 269);
186 this.viewHost
.TabIndex
= 0;
187 this.viewHost
.ViewType
= null;
191 this.itemsGroupBox
.Controls
.Add(this.splitContainer
);
192 this.itemsGroupBox
.Dock
= System
.Windows
.Forms
.DockStyle
.Fill
;
193 this.itemsGroupBox
.Location
= new System
.Drawing
.Point(0, 0);
194 this.itemsGroupBox
.Name
= "itemsGroupBox";
195 this.itemsGroupBox
.Size
= new System
.Drawing
.Size(499, 342);
196 this.itemsGroupBox
.TabIndex
= 0;
197 this.itemsGroupBox
.TabStop
= false;
198 this.itemsGroupBox
.Text
= "Items";
200 // showDetailsCheckBox
202 this.showDetailsCheckBox
.Appearance
= System
.Windows
.Forms
.Appearance
.Button
;
203 this.showDetailsCheckBox
.Checked
= true;
204 this.showDetailsCheckBox
.CheckState
= System
.Windows
.Forms
.CheckState
.Checked
;
205 this.showDetailsCheckBox
.Image
= HeuristicLab
.Common
.Resources
.VSImageLibrary
.Properties
;
206 this.showDetailsCheckBox
.Location
= new System
.Drawing
.Point(123, 3);
207 this.showDetailsCheckBox
.Name
= "showDetailsCheckBox";
208 this.showDetailsCheckBox
.Size
= new System
.Drawing
.Size(24, 24);
209 this.showDetailsCheckBox
.TabIndex
= 4;
210 this.toolTip
.SetToolTip(this.showDetailsCheckBox
, "Show/Hide Details");
211 this.showDetailsCheckBox
.UseVisualStyleBackColor
= true;
212 this.showDetailsCheckBox
.CheckedChanged
+= new System
.EventHandler(this.showDetailsCheckBox_CheckedChanged
);
216 this.AutoScaleDimensions
= new System
.Drawing
.SizeF(6F
, 13F
);
217 this.Controls
.Add(this.itemsGroupBox
);
218 this.Name
= "ItemArrayView";
219 this.Size
= new System
.Drawing
.Size(499, 342);
220 this.splitContainer
.Panel1
.ResumeLayout(false);
221 this.splitContainer
.Panel2
.ResumeLayout(false);
222 this.splitContainer
.ResumeLayout(false);
223 this.detailsGroupBox
.ResumeLayout(false);
224 this.itemsGroupBox
.ResumeLayout(false);
225 this.ResumeLayout(false);
231 protected System
.Windows
.Forms
.SplitContainer splitContainer
;
232 protected System
.Windows
.Forms
.ColumnHeader listViewColumnHeader
;
233 protected GroupBox itemsGroupBox
;
234 protected ListView itemsListView
;
235 protected GroupBox detailsGroupBox
;
236 protected Button moveUpButton
;
237 protected Button moveDownButton
;
238 protected ToolTip toolTip
;
239 protected ImageList imageList
;
240 protected HeuristicLab
.MainForm
.WindowsForms
.ViewHost viewHost
;
241 protected Button removeButton
;
242 protected Button addButton
;
243 protected CheckBox showDetailsCheckBox
;