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