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