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