Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 3362 was 3362, checked in by swagner, 14 years ago

Adapted views of HeuristicLab.Core.Views according the new read-only property and renamed method SetEnableStateOfControls into SetEnabledStateOfControls (#973).

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