1 | #region License Information
|
---|
2 | /* HeuristicLab
|
---|
3 | * Copyright (C) 2002-2010 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 |
|
---|
22 | using System;
|
---|
23 | using System.Windows.Forms;
|
---|
24 |
|
---|
25 | namespace HeuristicLab.Core.Views {
|
---|
26 | partial class ItemListView<T> {
|
---|
27 | /// <summary>
|
---|
28 | /// Required designer variable.
|
---|
29 | /// </summary>
|
---|
30 | private System.ComponentModel.IContainer components = null;
|
---|
31 |
|
---|
32 | /// <summary>
|
---|
33 | /// Clean up any resources being used.
|
---|
34 | /// </summary>
|
---|
35 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
---|
36 | protected override void Dispose(bool disposing) {
|
---|
37 | if (disposing) {
|
---|
38 | foreach (ListViewItem item in itemsListView.Items)
|
---|
39 | ((T)item.Tag).ToStringChanged -= new EventHandler(Item_ToStringChanged);
|
---|
40 | if (components != null) components.Dispose();
|
---|
41 | }
|
---|
42 | base.Dispose(disposing);
|
---|
43 | }
|
---|
44 |
|
---|
45 | #region Windows Form Designer generated code
|
---|
46 |
|
---|
47 | /// <summary>
|
---|
48 | /// Required method for Designer support - do not modify
|
---|
49 | /// the contents of this method with the code editor.
|
---|
50 | /// </summary>
|
---|
51 | private void InitializeComponent() {
|
---|
52 | this.components = new System.ComponentModel.Container();
|
---|
53 | this.splitContainer = new System.Windows.Forms.SplitContainer();
|
---|
54 | this.removeButton = new System.Windows.Forms.Button();
|
---|
55 | this.moveUpButton = new System.Windows.Forms.Button();
|
---|
56 | this.moveDownButton = new System.Windows.Forms.Button();
|
---|
57 | this.itemsListView = new System.Windows.Forms.ListView();
|
---|
58 | this.listViewColumnHeader = new System.Windows.Forms.ColumnHeader();
|
---|
59 | this.imageList = new System.Windows.Forms.ImageList(this.components);
|
---|
60 | this.addButton = new System.Windows.Forms.Button();
|
---|
61 | this.detailsGroupBox = new System.Windows.Forms.GroupBox();
|
---|
62 | this.viewHost = new HeuristicLab.Core.Views.ViewHost();
|
---|
63 | this.itemsGroupBox = new System.Windows.Forms.GroupBox();
|
---|
64 | this.toolTip = new System.Windows.Forms.ToolTip(this.components);
|
---|
65 | this.splitContainer.Panel1.SuspendLayout();
|
---|
66 | this.splitContainer.Panel2.SuspendLayout();
|
---|
67 | this.splitContainer.SuspendLayout();
|
---|
68 | this.detailsGroupBox.SuspendLayout();
|
---|
69 | this.itemsGroupBox.SuspendLayout();
|
---|
70 | this.SuspendLayout();
|
---|
71 | //
|
---|
72 | // splitContainer
|
---|
73 | //
|
---|
74 | this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
|
---|
75 | this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
---|
76 | this.splitContainer.Location = new System.Drawing.Point(3, 16);
|
---|
77 | this.splitContainer.Name = "splitContainer";
|
---|
78 | //
|
---|
79 | // splitContainer.Panel1
|
---|
80 | //
|
---|
81 | this.splitContainer.Panel1.Controls.Add(this.removeButton);
|
---|
82 | this.splitContainer.Panel1.Controls.Add(this.moveUpButton);
|
---|
83 | this.splitContainer.Panel1.Controls.Add(this.moveDownButton);
|
---|
84 | this.splitContainer.Panel1.Controls.Add(this.itemsListView);
|
---|
85 | this.splitContainer.Panel1.Controls.Add(this.addButton);
|
---|
86 | //
|
---|
87 | // splitContainer.Panel2
|
---|
88 | //
|
---|
89 | this.splitContainer.Panel2.Controls.Add(this.detailsGroupBox);
|
---|
90 | this.splitContainer.Size = new System.Drawing.Size(493, 323);
|
---|
91 | this.splitContainer.SplitterDistance = 200;
|
---|
92 | this.splitContainer.TabIndex = 0;
|
---|
93 | //
|
---|
94 | // removeButton
|
---|
95 | //
|
---|
96 | this.removeButton.Enabled = false;
|
---|
97 | this.removeButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Remove;
|
---|
98 | this.removeButton.Location = new System.Drawing.Point(93, 3);
|
---|
99 | this.removeButton.Name = "removeButton";
|
---|
100 | this.removeButton.Size = new System.Drawing.Size(24, 24);
|
---|
101 | this.removeButton.TabIndex = 3;
|
---|
102 | this.toolTip.SetToolTip(this.removeButton, "Remove");
|
---|
103 | this.removeButton.UseVisualStyleBackColor = true;
|
---|
104 | this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
|
---|
105 | //
|
---|
106 | // moveUpButton
|
---|
107 | //
|
---|
108 | this.moveUpButton.Enabled = false;
|
---|
109 | this.moveUpButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.ArrowUp;
|
---|
110 | this.moveUpButton.Location = new System.Drawing.Point(33, 3);
|
---|
111 | this.moveUpButton.Name = "moveUpButton";
|
---|
112 | this.moveUpButton.Size = new System.Drawing.Size(24, 24);
|
---|
113 | this.moveUpButton.TabIndex = 1;
|
---|
114 | this.toolTip.SetToolTip(this.moveUpButton, "Move Up");
|
---|
115 | this.moveUpButton.UseVisualStyleBackColor = true;
|
---|
116 | this.moveUpButton.Click += new System.EventHandler(this.moveUpButton_Click);
|
---|
117 | //
|
---|
118 | // moveDownButton
|
---|
119 | //
|
---|
120 | this.moveDownButton.Enabled = false;
|
---|
121 | this.moveDownButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.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 = 4;
|
---|
146 | this.itemsListView.UseCompatibleStateImageBehavior = false;
|
---|
147 | this.itemsListView.View = System.Windows.Forms.View.Details;
|
---|
148 | this.itemsListView.SelectedIndexChanged += new System.EventHandler(this.itemsListView_SelectedIndexChanged);
|
---|
149 | this.itemsListView.SizeChanged += new System.EventHandler(this.itemsListView_SizeChanged);
|
---|
150 | this.itemsListView.DoubleClick += new System.EventHandler(this.itemsListView_DoubleClick);
|
---|
151 | this.itemsListView.DragDrop += new System.Windows.Forms.DragEventHandler(this.itemsListView_DragDrop);
|
---|
152 | this.itemsListView.DragEnter += new System.Windows.Forms.DragEventHandler(this.itemsListView_DragEnterOver);
|
---|
153 | this.itemsListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.itemsListView_KeyDown);
|
---|
154 | this.itemsListView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.itemsListView_ItemDrag);
|
---|
155 | this.itemsListView.DragOver += new System.Windows.Forms.DragEventHandler(this.itemsListView_DragEnterOver);
|
---|
156 | //
|
---|
157 | // imageList
|
---|
158 | //
|
---|
159 | this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
|
---|
160 | this.imageList.ImageSize = new System.Drawing.Size(16, 16);
|
---|
161 | this.imageList.TransparentColor = System.Drawing.Color.Transparent;
|
---|
162 | //
|
---|
163 | // addButton
|
---|
164 | //
|
---|
165 | this.addButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Add;
|
---|
166 | this.addButton.Location = new System.Drawing.Point(3, 3);
|
---|
167 | this.addButton.Name = "addButton";
|
---|
168 | this.addButton.Size = new System.Drawing.Size(24, 24);
|
---|
169 | this.addButton.TabIndex = 0;
|
---|
170 | this.toolTip.SetToolTip(this.addButton, "Add");
|
---|
171 | this.addButton.UseVisualStyleBackColor = true;
|
---|
172 | this.addButton.Click += new System.EventHandler(this.addButton_Click);
|
---|
173 | //
|
---|
174 | // detailsGroupBox
|
---|
175 | //
|
---|
176 | this.detailsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
---|
177 | | System.Windows.Forms.AnchorStyles.Left)
|
---|
178 | | System.Windows.Forms.AnchorStyles.Right)));
|
---|
179 | this.detailsGroupBox.Controls.Add(this.viewHost);
|
---|
180 | this.detailsGroupBox.Location = new System.Drawing.Point(3, 27);
|
---|
181 | this.detailsGroupBox.Name = "detailsGroupBox";
|
---|
182 | this.detailsGroupBox.Size = new System.Drawing.Size(283, 294);
|
---|
183 | this.detailsGroupBox.TabIndex = 0;
|
---|
184 | this.detailsGroupBox.TabStop = false;
|
---|
185 | this.detailsGroupBox.Text = "Details";
|
---|
186 | //
|
---|
187 | // viewHost
|
---|
188 | //
|
---|
189 | this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
---|
190 | | System.Windows.Forms.AnchorStyles.Left)
|
---|
191 | | System.Windows.Forms.AnchorStyles.Right)));
|
---|
192 | this.viewHost.Content = null;
|
---|
193 | this.viewHost.Location = new System.Drawing.Point(6, 19);
|
---|
194 | this.viewHost.Name = "viewHost";
|
---|
195 | this.viewHost.Size = new System.Drawing.Size(271, 269);
|
---|
196 | this.viewHost.TabIndex = 0;
|
---|
197 | //
|
---|
198 | // itemsGroupBox
|
---|
199 | //
|
---|
200 | this.itemsGroupBox.Controls.Add(this.splitContainer);
|
---|
201 | this.itemsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
---|
202 | this.itemsGroupBox.Location = new System.Drawing.Point(0, 0);
|
---|
203 | this.itemsGroupBox.Name = "itemsGroupBox";
|
---|
204 | this.itemsGroupBox.Size = new System.Drawing.Size(499, 342);
|
---|
205 | this.itemsGroupBox.TabIndex = 0;
|
---|
206 | this.itemsGroupBox.TabStop = false;
|
---|
207 | this.itemsGroupBox.Text = "Items";
|
---|
208 | //
|
---|
209 | // ItemListView
|
---|
210 | //
|
---|
211 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
---|
212 | this.Controls.Add(this.itemsGroupBox);
|
---|
213 | this.Name = "ItemListView";
|
---|
214 | this.Size = new System.Drawing.Size(499, 342);
|
---|
215 | this.splitContainer.Panel1.ResumeLayout(false);
|
---|
216 | this.splitContainer.Panel2.ResumeLayout(false);
|
---|
217 | this.splitContainer.ResumeLayout(false);
|
---|
218 | this.detailsGroupBox.ResumeLayout(false);
|
---|
219 | this.itemsGroupBox.ResumeLayout(false);
|
---|
220 | this.ResumeLayout(false);
|
---|
221 |
|
---|
222 | }
|
---|
223 |
|
---|
224 | #endregion
|
---|
225 |
|
---|
226 | protected System.Windows.Forms.SplitContainer splitContainer;
|
---|
227 | protected System.Windows.Forms.ColumnHeader listViewColumnHeader;
|
---|
228 | protected GroupBox itemsGroupBox;
|
---|
229 | protected ListView itemsListView;
|
---|
230 | protected GroupBox detailsGroupBox;
|
---|
231 | protected Button addButton;
|
---|
232 | protected Button removeButton;
|
---|
233 | protected Button moveUpButton;
|
---|
234 | protected Button moveDownButton;
|
---|
235 | protected ToolTip toolTip;
|
---|
236 | protected ImageList imageList;
|
---|
237 | protected ViewHost viewHost;
|
---|
238 | }
|
---|
239 | }
|
---|