1 | #region License Information
|
---|
2 | /* HeuristicLab
|
---|
3 | * Copyright (C) 2002-2008 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 | using HeuristicLab.Core;
|
---|
25 |
|
---|
26 | namespace HeuristicLab.Data {
|
---|
27 | partial class ItemListView {
|
---|
28 | /// <summary>
|
---|
29 | /// Required designer variable.
|
---|
30 | /// </summary>
|
---|
31 | private System.ComponentModel.IContainer components = null;
|
---|
32 |
|
---|
33 | /// <summary>
|
---|
34 | /// Clean up any resources being used.
|
---|
35 | /// </summary>
|
---|
36 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
---|
37 | protected override void Dispose(bool disposing) {
|
---|
38 | if (chooseItemDialog != null) chooseItemDialog.Dispose();
|
---|
39 | foreach (ListViewItem item in itemsListView.Items)
|
---|
40 | ((IItem)item.Tag).Changed -= new EventHandler(Item_Changed);
|
---|
41 | if (disposing && (components != null)) {
|
---|
42 | components.Dispose();
|
---|
43 | }
|
---|
44 | base.Dispose(disposing);
|
---|
45 | }
|
---|
46 |
|
---|
47 | #region Component Designer generated code
|
---|
48 |
|
---|
49 | /// <summary>
|
---|
50 | /// Required method for Designer support - do not modify
|
---|
51 | /// the contents of this method with the code editor.
|
---|
52 | /// </summary>
|
---|
53 | private void InitializeComponent() {
|
---|
54 | this.splitContainer = new System.Windows.Forms.SplitContainer();
|
---|
55 | this.itemsGroupBox = new System.Windows.Forms.GroupBox();
|
---|
56 | this.removeButton = new System.Windows.Forms.Button();
|
---|
57 | this.addButton = new System.Windows.Forms.Button();
|
---|
58 | this.itemsListView = new System.Windows.Forms.ListView();
|
---|
59 | this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
|
---|
60 | this.detailsGroupBox = new System.Windows.Forms.GroupBox();
|
---|
61 | this.itemTypeLabel = new System.Windows.Forms.Label();
|
---|
62 | this.setTypeButton = new System.Windows.Forms.Button();
|
---|
63 | this.typeTextBox = new System.Windows.Forms.TextBox();
|
---|
64 | this.splitContainer.Panel1.SuspendLayout();
|
---|
65 | this.splitContainer.Panel2.SuspendLayout();
|
---|
66 | this.splitContainer.SuspendLayout();
|
---|
67 | this.itemsGroupBox.SuspendLayout();
|
---|
68 | this.SuspendLayout();
|
---|
69 | //
|
---|
70 | // splitContainer
|
---|
71 | //
|
---|
72 | this.splitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
---|
73 | | System.Windows.Forms.AnchorStyles.Left)
|
---|
74 | | System.Windows.Forms.AnchorStyles.Right)));
|
---|
75 | this.splitContainer.Enabled = false;
|
---|
76 | this.splitContainer.Location = new System.Drawing.Point(0, 27);
|
---|
77 | this.splitContainer.Name = "splitContainer";
|
---|
78 | //
|
---|
79 | // splitContainer.Panel1
|
---|
80 | //
|
---|
81 | this.splitContainer.Panel1.Controls.Add(this.itemsGroupBox);
|
---|
82 | //
|
---|
83 | // splitContainer.Panel2
|
---|
84 | //
|
---|
85 | this.splitContainer.Panel2.Controls.Add(this.detailsGroupBox);
|
---|
86 | this.splitContainer.Size = new System.Drawing.Size(423, 246);
|
---|
87 | this.splitContainer.SplitterDistance = 198;
|
---|
88 | this.splitContainer.TabIndex = 3;
|
---|
89 | //
|
---|
90 | // itemsGroupBox
|
---|
91 | //
|
---|
92 | this.itemsGroupBox.Controls.Add(this.removeButton);
|
---|
93 | this.itemsGroupBox.Controls.Add(this.addButton);
|
---|
94 | this.itemsGroupBox.Controls.Add(this.itemsListView);
|
---|
95 | this.itemsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
---|
96 | this.itemsGroupBox.Location = new System.Drawing.Point(0, 0);
|
---|
97 | this.itemsGroupBox.Name = "itemsGroupBox";
|
---|
98 | this.itemsGroupBox.Size = new System.Drawing.Size(198, 246);
|
---|
99 | this.itemsGroupBox.TabIndex = 0;
|
---|
100 | this.itemsGroupBox.TabStop = false;
|
---|
101 | this.itemsGroupBox.Text = "&Items:";
|
---|
102 | //
|
---|
103 | // removeButton
|
---|
104 | //
|
---|
105 | this.removeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
---|
106 | this.removeButton.Location = new System.Drawing.Point(87, 217);
|
---|
107 | this.removeButton.Name = "removeButton";
|
---|
108 | this.removeButton.Size = new System.Drawing.Size(75, 23);
|
---|
109 | this.removeButton.TabIndex = 2;
|
---|
110 | this.removeButton.Text = "&Remove";
|
---|
111 | this.removeButton.UseVisualStyleBackColor = true;
|
---|
112 | this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
|
---|
113 | //
|
---|
114 | // addButton
|
---|
115 | //
|
---|
116 | this.addButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
---|
117 | this.addButton.Location = new System.Drawing.Point(6, 217);
|
---|
118 | this.addButton.Name = "addButton";
|
---|
119 | this.addButton.Size = new System.Drawing.Size(75, 23);
|
---|
120 | this.addButton.TabIndex = 1;
|
---|
121 | this.addButton.Text = "&Add...";
|
---|
122 | this.addButton.UseVisualStyleBackColor = true;
|
---|
123 | this.addButton.Click += new System.EventHandler(this.addButton_Click);
|
---|
124 | //
|
---|
125 | // itemsListView
|
---|
126 | //
|
---|
127 | this.itemsListView.AllowDrop = true;
|
---|
128 | this.itemsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
---|
129 | | System.Windows.Forms.AnchorStyles.Left)
|
---|
130 | | System.Windows.Forms.AnchorStyles.Right)));
|
---|
131 | this.itemsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
---|
132 | this.columnHeader1});
|
---|
133 | this.itemsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
---|
134 | this.itemsListView.HideSelection = false;
|
---|
135 | this.itemsListView.Location = new System.Drawing.Point(6, 19);
|
---|
136 | this.itemsListView.Name = "itemsListView";
|
---|
137 | this.itemsListView.Size = new System.Drawing.Size(186, 192);
|
---|
138 | this.itemsListView.TabIndex = 0;
|
---|
139 | this.itemsListView.UseCompatibleStateImageBehavior = false;
|
---|
140 | this.itemsListView.View = System.Windows.Forms.View.Details;
|
---|
141 | this.itemsListView.SelectedIndexChanged += new System.EventHandler(this.elementsListView_SelectedIndexChanged);
|
---|
142 | this.itemsListView.SizeChanged += new System.EventHandler(this.elementsListView_SizeChanged);
|
---|
143 | this.itemsListView.DragDrop += new System.Windows.Forms.DragEventHandler(this.elementsListView_DragDrop);
|
---|
144 | this.itemsListView.DragEnter += new System.Windows.Forms.DragEventHandler(this.elementsListView_DragEnter);
|
---|
145 | this.itemsListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.elementsListView_KeyDown);
|
---|
146 | this.itemsListView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.elementsListView_ItemDrag);
|
---|
147 | this.itemsListView.DragOver += new System.Windows.Forms.DragEventHandler(this.elementsListView_DragOver);
|
---|
148 | //
|
---|
149 | // detailsGroupBox
|
---|
150 | //
|
---|
151 | this.detailsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
---|
152 | this.detailsGroupBox.Enabled = false;
|
---|
153 | this.detailsGroupBox.Location = new System.Drawing.Point(0, 0);
|
---|
154 | this.detailsGroupBox.Name = "detailsGroupBox";
|
---|
155 | this.detailsGroupBox.Size = new System.Drawing.Size(221, 246);
|
---|
156 | this.detailsGroupBox.TabIndex = 0;
|
---|
157 | this.detailsGroupBox.TabStop = false;
|
---|
158 | this.detailsGroupBox.Text = "&Details:";
|
---|
159 | //
|
---|
160 | // itemTypeLabel
|
---|
161 | //
|
---|
162 | this.itemTypeLabel.AutoSize = true;
|
---|
163 | this.itemTypeLabel.Location = new System.Drawing.Point(3, 3);
|
---|
164 | this.itemTypeLabel.Name = "itemTypeLabel";
|
---|
165 | this.itemTypeLabel.Size = new System.Drawing.Size(57, 13);
|
---|
166 | this.itemTypeLabel.TabIndex = 0;
|
---|
167 | this.itemTypeLabel.Text = "&Item Type:";
|
---|
168 | //
|
---|
169 | // setTypeButton
|
---|
170 | //
|
---|
171 | this.setTypeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
---|
172 | this.setTypeButton.Location = new System.Drawing.Point(380, 0);
|
---|
173 | this.setTypeButton.Name = "setTypeButton";
|
---|
174 | this.setTypeButton.Size = new System.Drawing.Size(43, 20);
|
---|
175 | this.setTypeButton.TabIndex = 1;
|
---|
176 | this.setTypeButton.Text = "&Set...";
|
---|
177 | this.setTypeButton.UseVisualStyleBackColor = true;
|
---|
178 | this.setTypeButton.Click += new System.EventHandler(this.setTypeButton_Click);
|
---|
179 | //
|
---|
180 | // typeTextBox
|
---|
181 | //
|
---|
182 | this.typeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
---|
183 | | System.Windows.Forms.AnchorStyles.Right)));
|
---|
184 | this.typeTextBox.Location = new System.Drawing.Point(66, 0);
|
---|
185 | this.typeTextBox.Name = "typeTextBox";
|
---|
186 | this.typeTextBox.ReadOnly = true;
|
---|
187 | this.typeTextBox.Size = new System.Drawing.Size(308, 20);
|
---|
188 | this.typeTextBox.TabIndex = 2;
|
---|
189 | //
|
---|
190 | // ItemListView
|
---|
191 | //
|
---|
192 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
---|
193 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
---|
194 | this.Controls.Add(this.typeTextBox);
|
---|
195 | this.Controls.Add(this.setTypeButton);
|
---|
196 | this.Controls.Add(this.itemTypeLabel);
|
---|
197 | this.Controls.Add(this.splitContainer);
|
---|
198 | this.Name = "ItemListView";
|
---|
199 | this.Size = new System.Drawing.Size(423, 273);
|
---|
200 | this.splitContainer.Panel1.ResumeLayout(false);
|
---|
201 | this.splitContainer.Panel2.ResumeLayout(false);
|
---|
202 | this.splitContainer.ResumeLayout(false);
|
---|
203 | this.itemsGroupBox.ResumeLayout(false);
|
---|
204 | this.ResumeLayout(false);
|
---|
205 | this.PerformLayout();
|
---|
206 |
|
---|
207 | }
|
---|
208 |
|
---|
209 | #endregion
|
---|
210 |
|
---|
211 | private System.Windows.Forms.SplitContainer splitContainer;
|
---|
212 | private System.Windows.Forms.GroupBox itemsGroupBox;
|
---|
213 | private System.Windows.Forms.GroupBox detailsGroupBox;
|
---|
214 | private System.Windows.Forms.Button removeButton;
|
---|
215 | private System.Windows.Forms.Button addButton;
|
---|
216 | private System.Windows.Forms.ListView itemsListView;
|
---|
217 | private System.Windows.Forms.ColumnHeader columnHeader1;
|
---|
218 | private Label itemTypeLabel;
|
---|
219 | private Button setTypeButton;
|
---|
220 | private TextBox typeTextBox;
|
---|
221 |
|
---|
222 | }
|
---|
223 | }
|
---|