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<T> {
|
---|
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.typeTextBox = new System.Windows.Forms.TextBox();
|
---|
63 | this.splitContainer.Panel1.SuspendLayout();
|
---|
64 | this.splitContainer.Panel2.SuspendLayout();
|
---|
65 | this.splitContainer.SuspendLayout();
|
---|
66 | this.itemsGroupBox.SuspendLayout();
|
---|
67 | this.SuspendLayout();
|
---|
68 | //
|
---|
69 | // splitContainer
|
---|
70 | //
|
---|
71 | this.splitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
---|
72 | | System.Windows.Forms.AnchorStyles.Left)
|
---|
73 | | System.Windows.Forms.AnchorStyles.Right)));
|
---|
74 | this.splitContainer.Enabled = false;
|
---|
75 | this.splitContainer.Location = new System.Drawing.Point(0, 27);
|
---|
76 | this.splitContainer.Name = "splitContainer";
|
---|
77 | //
|
---|
78 | // splitContainer.Panel1
|
---|
79 | //
|
---|
80 | this.splitContainer.Panel1.Controls.Add(this.itemsGroupBox);
|
---|
81 | //
|
---|
82 | // splitContainer.Panel2
|
---|
83 | //
|
---|
84 | this.splitContainer.Panel2.Controls.Add(this.detailsGroupBox);
|
---|
85 | this.splitContainer.Size = new System.Drawing.Size(423, 246);
|
---|
86 | this.splitContainer.SplitterDistance = 198;
|
---|
87 | this.splitContainer.TabIndex = 2;
|
---|
88 | //
|
---|
89 | // itemsGroupBox
|
---|
90 | //
|
---|
91 | this.itemsGroupBox.Controls.Add(this.removeButton);
|
---|
92 | this.itemsGroupBox.Controls.Add(this.addButton);
|
---|
93 | this.itemsGroupBox.Controls.Add(this.itemsListView);
|
---|
94 | this.itemsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
---|
95 | this.itemsGroupBox.Location = new System.Drawing.Point(0, 0);
|
---|
96 | this.itemsGroupBox.Name = "itemsGroupBox";
|
---|
97 | this.itemsGroupBox.Size = new System.Drawing.Size(198, 246);
|
---|
98 | this.itemsGroupBox.TabIndex = 0;
|
---|
99 | this.itemsGroupBox.TabStop = false;
|
---|
100 | this.itemsGroupBox.Text = "&Items:";
|
---|
101 | //
|
---|
102 | // removeButton
|
---|
103 | //
|
---|
104 | this.removeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
---|
105 | this.removeButton.Location = new System.Drawing.Point(87, 217);
|
---|
106 | this.removeButton.Name = "removeButton";
|
---|
107 | this.removeButton.Size = new System.Drawing.Size(75, 23);
|
---|
108 | this.removeButton.TabIndex = 2;
|
---|
109 | this.removeButton.Text = "&Remove";
|
---|
110 | this.removeButton.UseVisualStyleBackColor = true;
|
---|
111 | this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
|
---|
112 | //
|
---|
113 | // addButton
|
---|
114 | //
|
---|
115 | this.addButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
---|
116 | this.addButton.Location = new System.Drawing.Point(6, 217);
|
---|
117 | this.addButton.Name = "addButton";
|
---|
118 | this.addButton.Size = new System.Drawing.Size(75, 23);
|
---|
119 | this.addButton.TabIndex = 1;
|
---|
120 | this.addButton.Text = "&Add...";
|
---|
121 | this.addButton.UseVisualStyleBackColor = true;
|
---|
122 | this.addButton.Click += new System.EventHandler(this.addButton_Click);
|
---|
123 | //
|
---|
124 | // itemsListView
|
---|
125 | //
|
---|
126 | this.itemsListView.AllowDrop = true;
|
---|
127 | this.itemsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
---|
128 | | System.Windows.Forms.AnchorStyles.Left)
|
---|
129 | | System.Windows.Forms.AnchorStyles.Right)));
|
---|
130 | this.itemsListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
---|
131 | this.columnHeader1});
|
---|
132 | this.itemsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
---|
133 | this.itemsListView.HideSelection = false;
|
---|
134 | this.itemsListView.Location = new System.Drawing.Point(6, 19);
|
---|
135 | this.itemsListView.Name = "itemsListView";
|
---|
136 | this.itemsListView.Size = new System.Drawing.Size(186, 192);
|
---|
137 | this.itemsListView.TabIndex = 0;
|
---|
138 | this.itemsListView.UseCompatibleStateImageBehavior = false;
|
---|
139 | this.itemsListView.View = System.Windows.Forms.View.Details;
|
---|
140 | this.itemsListView.SelectedIndexChanged += new System.EventHandler(this.elementsListView_SelectedIndexChanged);
|
---|
141 | this.itemsListView.SizeChanged += new System.EventHandler(this.elementsListView_SizeChanged);
|
---|
142 | this.itemsListView.DragDrop += new System.Windows.Forms.DragEventHandler(this.elementsListView_DragDrop);
|
---|
143 | this.itemsListView.DragEnter += new System.Windows.Forms.DragEventHandler(this.elementsListView_DragEnter);
|
---|
144 | this.itemsListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.elementsListView_KeyDown);
|
---|
145 | this.itemsListView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.elementsListView_ItemDrag);
|
---|
146 | this.itemsListView.DragOver += new System.Windows.Forms.DragEventHandler(this.elementsListView_DragOver);
|
---|
147 | //
|
---|
148 | // detailsGroupBox
|
---|
149 | //
|
---|
150 | this.detailsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
---|
151 | this.detailsGroupBox.Enabled = false;
|
---|
152 | this.detailsGroupBox.Location = new System.Drawing.Point(0, 0);
|
---|
153 | this.detailsGroupBox.Name = "detailsGroupBox";
|
---|
154 | this.detailsGroupBox.Size = new System.Drawing.Size(221, 246);
|
---|
155 | this.detailsGroupBox.TabIndex = 0;
|
---|
156 | this.detailsGroupBox.TabStop = false;
|
---|
157 | this.detailsGroupBox.Text = "&Details:";
|
---|
158 | //
|
---|
159 | // itemTypeLabel
|
---|
160 | //
|
---|
161 | this.itemTypeLabel.AutoSize = true;
|
---|
162 | this.itemTypeLabel.Location = new System.Drawing.Point(3, 3);
|
---|
163 | this.itemTypeLabel.Name = "itemTypeLabel";
|
---|
164 | this.itemTypeLabel.Size = new System.Drawing.Size(57, 13);
|
---|
165 | this.itemTypeLabel.TabIndex = 0;
|
---|
166 | this.itemTypeLabel.Text = "&Item Type:";
|
---|
167 | //
|
---|
168 | // typeTextBox
|
---|
169 | //
|
---|
170 | this.typeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
---|
171 | | System.Windows.Forms.AnchorStyles.Right)));
|
---|
172 | this.typeTextBox.Location = new System.Drawing.Point(66, 0);
|
---|
173 | this.typeTextBox.Name = "typeTextBox";
|
---|
174 | this.typeTextBox.ReadOnly = true;
|
---|
175 | this.typeTextBox.Size = new System.Drawing.Size(357, 20);
|
---|
176 | this.typeTextBox.TabIndex = 1;
|
---|
177 | //
|
---|
178 | // ItemListView
|
---|
179 | //
|
---|
180 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
---|
181 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
---|
182 | this.Controls.Add(this.typeTextBox);
|
---|
183 | this.Controls.Add(this.itemTypeLabel);
|
---|
184 | this.Controls.Add(this.splitContainer);
|
---|
185 | this.Name = "ItemListView";
|
---|
186 | this.Size = new System.Drawing.Size(423, 273);
|
---|
187 | this.splitContainer.Panel1.ResumeLayout(false);
|
---|
188 | this.splitContainer.Panel2.ResumeLayout(false);
|
---|
189 | this.splitContainer.ResumeLayout(false);
|
---|
190 | this.itemsGroupBox.ResumeLayout(false);
|
---|
191 | this.ResumeLayout(false);
|
---|
192 | this.PerformLayout();
|
---|
193 |
|
---|
194 | }
|
---|
195 |
|
---|
196 | #endregion
|
---|
197 |
|
---|
198 | private System.Windows.Forms.SplitContainer splitContainer;
|
---|
199 | private System.Windows.Forms.GroupBox itemsGroupBox;
|
---|
200 | private System.Windows.Forms.GroupBox detailsGroupBox;
|
---|
201 | private System.Windows.Forms.Button removeButton;
|
---|
202 | private System.Windows.Forms.Button addButton;
|
---|
203 | private System.Windows.Forms.ListView itemsListView;
|
---|
204 | private System.Windows.Forms.ColumnHeader columnHeader1;
|
---|
205 | private Label itemTypeLabel;
|
---|
206 | private TextBox typeTextBox;
|
---|
207 |
|
---|
208 | }
|
---|
209 | }
|
---|