Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueLookupParameterView.Designer.cs @ 4040

Last change on this file since 4040 was 4011, checked in by mkommend, 14 years ago
  • refactored ViewHost and various views to use fewer nested controls
  • added UnitTests for ContentViews to ensure proper using of the ContentAttribute
  • fixed some views which could not handle null as Content

(ticket #972)

File size: 9.0 KB
RevLine 
[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
[2714]22namespace HeuristicLab.Parameters.Views {
[2756]23  partial class ValueLookupParameterView<T> {
[2655]24    /// <summary>
25    /// Required designer variable.
26    /// </summary>
27    private System.ComponentModel.IContainer components = null;
28
29    /// <summary>
30    /// Clean up any resources being used.
31    /// </summary>
32    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
33    protected override void Dispose(bool disposing) {
34      if (disposing) {
35        if (typeSelectorDialog != null) typeSelectorDialog.Dispose();
36        if (components != null) components.Dispose();
37      }
38      base.Dispose(disposing);
39    }
40
41    #region Component Designer generated code
42
43    /// <summary>
44    /// Required method for Designer support - do not modify
45    /// the contents of this method with the code editor.
46    /// </summary>
47    private void InitializeComponent() {
[2756]48      this.valueGroupBox = new System.Windows.Forms.GroupBox();
[4011]49      this.valueViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
[2756]50      this.clearValueButton = new System.Windows.Forms.Button();
51      this.setValueButton = new System.Windows.Forms.Button();
[2655]52      this.actualNameTextBox = new System.Windows.Forms.TextBox();
53      this.actualNameLabel = new System.Windows.Forms.Label();
[2676]54      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
[2756]55      this.valueGroupBox.SuspendLayout();
[2655]56      this.SuspendLayout();
57      //
58      // dataTypeLabel
59      //
[2917]60      this.dataTypeLabel.Location = new System.Drawing.Point(3, 81);
[2655]61      this.dataTypeLabel.TabIndex = 6;
62      //
63      // dataTypeTextBox
64      //
[2917]65      this.dataTypeTextBox.Location = new System.Drawing.Point(80, 78);
[2655]66      this.dataTypeTextBox.Size = new System.Drawing.Size(306, 20);
67      this.dataTypeTextBox.TabIndex = 7;
68      //
69      // nameTextBox
70      //
[2676]71      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
72      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
73      this.nameTextBox.Location = new System.Drawing.Point(80, 0);
[2655]74      this.nameTextBox.Size = new System.Drawing.Size(306, 20);
75      //
76      // descriptionLabel
77      //
78      this.descriptionLabel.Location = new System.Drawing.Point(3, 55);
79      this.descriptionLabel.TabIndex = 4;
80      //
81      // descriptionTextBox
82      //
83      this.descriptionTextBox.Location = new System.Drawing.Point(80, 52);
[2917]84      this.descriptionTextBox.Size = new System.Drawing.Size(306, 20);
[2655]85      this.descriptionTextBox.TabIndex = 5;
86      //
[2756]87      // valueGroupBox
[2655]88      //
[2756]89      this.valueGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
[2655]90                  | System.Windows.Forms.AnchorStyles.Left)
91                  | System.Windows.Forms.AnchorStyles.Right)));
[4011]92      this.valueGroupBox.Controls.Add(this.valueViewHost);
[2756]93      this.valueGroupBox.Controls.Add(this.clearValueButton);
94      this.valueGroupBox.Controls.Add(this.setValueButton);
[2917]95      this.valueGroupBox.Location = new System.Drawing.Point(0, 104);
[2756]96      this.valueGroupBox.Name = "valueGroupBox";
[2917]97      this.valueGroupBox.Size = new System.Drawing.Size(386, 211);
[2756]98      this.valueGroupBox.TabIndex = 8;
99      this.valueGroupBox.TabStop = false;
[2924]100      this.valueGroupBox.Text = "Value";
[2655]101      //
[4011]102      // viewHost
[2655]103      //
[4011]104      this.valueViewHost.AllowDrop = true;
105      this.valueViewHost.Content = null;
106      this.valueViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
[2676]107                  | System.Windows.Forms.AnchorStyles.Left)
108                  | System.Windows.Forms.AnchorStyles.Right)));
[4011]109      this.valueViewHost.Location = new System.Drawing.Point(6, 49);
110      this.valueViewHost.Name = "valueViewHost";
111      this.valueViewHost.Size = new System.Drawing.Size(374, 156);
112      this.valueViewHost.TabIndex = 0;
113      this.valueViewHost.ViewType = null;
114      this.valueViewHost.DragOver += new System.Windows.Forms.DragEventHandler(this.valueViewHostPanel_DragEnterOver);
115      this.valueViewHost.DragDrop += new System.Windows.Forms.DragEventHandler(this.valueViewHost_DragDrop);
116      this.valueViewHost.DragEnter += new System.Windows.Forms.DragEventHandler(this.valueViewHostPanel_DragEnterOver);
[2655]117      //
[2756]118      // clearValueButton
[2676]119      //
[2756]120      this.clearValueButton.Enabled = false;
121      this.clearValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Remove;
[2796]122      this.clearValueButton.Location = new System.Drawing.Point(36, 19);
[2756]123      this.clearValueButton.Name = "clearValueButton";
[2796]124      this.clearValueButton.Size = new System.Drawing.Size(24, 24);
[2756]125      this.clearValueButton.TabIndex = 1;
126      this.toolTip.SetToolTip(this.clearValueButton, "Clear Value");
127      this.clearValueButton.UseVisualStyleBackColor = true;
128      this.clearValueButton.Click += new System.EventHandler(this.clearValueButton_Click);
[2676]129      //
[2756]130      // setValueButton
[2676]131      //
[3306]132      this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Edit;
[2756]133      this.setValueButton.Location = new System.Drawing.Point(6, 19);
134      this.setValueButton.Name = "setValueButton";
[2796]135      this.setValueButton.Size = new System.Drawing.Size(24, 24);
[2756]136      this.setValueButton.TabIndex = 0;
137      this.toolTip.SetToolTip(this.setValueButton, "Set Value");
138      this.setValueButton.UseVisualStyleBackColor = true;
139      this.setValueButton.Click += new System.EventHandler(this.setValueButton_Click);
[2676]140      //
[2655]141      // actualNameTextBox
142      //
143      this.actualNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
144                  | System.Windows.Forms.AnchorStyles.Right)));
145      this.actualNameTextBox.Location = new System.Drawing.Point(80, 26);
146      this.actualNameTextBox.Name = "actualNameTextBox";
147      this.actualNameTextBox.Size = new System.Drawing.Size(306, 20);
148      this.actualNameTextBox.TabIndex = 3;
149      this.actualNameTextBox.Validated += new System.EventHandler(this.actualNameTextBox_Validated);
150      //
151      // actualNameLabel
152      //
153      this.actualNameLabel.AutoSize = true;
154      this.actualNameLabel.Location = new System.Drawing.Point(3, 29);
155      this.actualNameLabel.Name = "actualNameLabel";
156      this.actualNameLabel.Size = new System.Drawing.Size(71, 13);
157      this.actualNameLabel.TabIndex = 2;
158      this.actualNameLabel.Text = "&Actual Name:";
159      //
[2756]160      // ValueLookupParameterView
[2655]161      //
162      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
163      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
[2676]164      this.Controls.Add(this.actualNameTextBox);
[2655]165      this.Controls.Add(this.actualNameLabel);
[2756]166      this.Controls.Add(this.valueGroupBox);
167      this.Name = "ValueLookupParameterView";
[2655]168      this.Size = new System.Drawing.Size(386, 315);
169      this.Controls.SetChildIndex(this.descriptionTextBox, 0);
170      this.Controls.SetChildIndex(this.descriptionLabel, 0);
[2676]171      this.Controls.SetChildIndex(this.dataTypeTextBox, 0);
172      this.Controls.SetChildIndex(this.dataTypeLabel, 0);
173      this.Controls.SetChildIndex(this.nameTextBox, 0);
[2756]174      this.Controls.SetChildIndex(this.nameLabel, 0);
175      this.Controls.SetChildIndex(this.valueGroupBox, 0);
176      this.Controls.SetChildIndex(this.actualNameLabel, 0);
[2655]177      this.Controls.SetChildIndex(this.actualNameTextBox, 0);
[2676]178      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
[2756]179      this.valueGroupBox.ResumeLayout(false);
[2655]180      this.ResumeLayout(false);
181      this.PerformLayout();
182
183    }
184
185    #endregion
186
[2756]187    protected System.Windows.Forms.GroupBox valueGroupBox;
[4011]188    protected HeuristicLab.MainForm.WindowsForms.ViewHost valueViewHost;
[2756]189    protected System.Windows.Forms.Button setValueButton;
190    protected System.Windows.Forms.Button clearValueButton;
[2676]191    protected System.Windows.Forms.TextBox actualNameTextBox;
192    protected System.Windows.Forms.Label actualNameLabel;
[2655]193  }
194}
Note: See TracBrowser for help on using the repository browser.