Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.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: 7.1 KB
RevLine 
[2740]1#region License Information
2/* HeuristicLab
[2790]3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
[2740]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
22namespace HeuristicLab.Parameters.Views {
[2756]23  partial class ValueParameterView<T> {
[2740]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) {
[2948]35        if (typeSelectorDialog != null) typeSelectorDialog.Dispose();
[2740]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() {
48      this.valueGroupBox = new System.Windows.Forms.GroupBox();
[4011]49      this.valueViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
[2948]50      this.clearValueButton = new System.Windows.Forms.Button();
51      this.setValueButton = new System.Windows.Forms.Button();
[2740]52      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
53      this.valueGroupBox.SuspendLayout();
54      this.SuspendLayout();
55      //
56      // dataTypeTextBox
57      //
[2917]58      this.dataTypeTextBox.Location = new System.Drawing.Point(80, 52);
[2740]59      this.dataTypeTextBox.Size = new System.Drawing.Size(306, 20);
60      //
61      // nameTextBox
62      //
63      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
64      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
65      this.nameTextBox.Location = new System.Drawing.Point(80, 0);
66      this.nameTextBox.Size = new System.Drawing.Size(306, 20);
67      //
68      // descriptionTextBox
69      //
70      this.descriptionTextBox.Location = new System.Drawing.Point(80, 26);
[2917]71      this.descriptionTextBox.Size = new System.Drawing.Size(306, 20);
[2740]72      //
73      // valueGroupBox
74      //
75      this.valueGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
76                  | System.Windows.Forms.AnchorStyles.Left)
77                  | System.Windows.Forms.AnchorStyles.Right)));
[4011]78      this.valueGroupBox.Controls.Add(this.valueViewHost);
[2948]79      this.valueGroupBox.Controls.Add(this.clearValueButton);
80      this.valueGroupBox.Controls.Add(this.setValueButton);
[2917]81      this.valueGroupBox.Location = new System.Drawing.Point(0, 78);
[2740]82      this.valueGroupBox.Name = "valueGroupBox";
[2917]83      this.valueGroupBox.Size = new System.Drawing.Size(386, 237);
[2756]84      this.valueGroupBox.TabIndex = 6;
[2740]85      this.valueGroupBox.TabStop = false;
[2924]86      this.valueGroupBox.Text = "Value";
[2740]87      //
[4011]88      // viewHost
[2740]89      //
[4011]90      this.valueViewHost.AllowDrop = true;
91      this.valueViewHost.Content = null;
92      this.valueViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
[2740]93                  | System.Windows.Forms.AnchorStyles.Left)
94                  | System.Windows.Forms.AnchorStyles.Right)));
[4011]95      this.valueViewHost.Location = new System.Drawing.Point(6, 49);
96      this.valueViewHost.Name = "viewHost";
97      this.valueViewHost.Size = new System.Drawing.Size(374, 182);
98      this.valueViewHost.TabIndex = 0;
99      this.valueViewHost.ViewType = null;
100      this.valueViewHost.DragOver += new System.Windows.Forms.DragEventHandler(this.valueViewHost_DragEnterOver);
101      this.valueViewHost.DragDrop += new System.Windows.Forms.DragEventHandler(this.valueViewHost_DragDrop);
102      this.valueViewHost.DragEnter += new System.Windows.Forms.DragEventHandler(this.valueViewHost_DragEnterOver);
[2740]103      //
[2948]104      // clearValueButton
105      //
106      this.clearValueButton.Enabled = false;
107      this.clearValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Remove;
108      this.clearValueButton.Location = new System.Drawing.Point(36, 19);
109      this.clearValueButton.Name = "clearValueButton";
110      this.clearValueButton.Size = new System.Drawing.Size(24, 24);
111      this.clearValueButton.TabIndex = 1;
112      this.toolTip.SetToolTip(this.clearValueButton, "Clear Value");
113      this.clearValueButton.UseVisualStyleBackColor = true;
114      this.clearValueButton.Click += new System.EventHandler(this.setValueButton_Click);
115      //
116      // setValueButton
117      //
[3306]118      this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Edit;
[2948]119      this.setValueButton.Location = new System.Drawing.Point(6, 19);
120      this.setValueButton.Name = "setValueButton";
121      this.setValueButton.Size = new System.Drawing.Size(24, 24);
122      this.setValueButton.TabIndex = 0;
123      this.toolTip.SetToolTip(this.setValueButton, "Set Value");
124      this.setValueButton.UseVisualStyleBackColor = true;
125      this.setValueButton.Click += new System.EventHandler(this.changeValueButton_Click);
126      //
[2756]127      // ValueParameterView
[2740]128      //
129      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
130      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
131      this.Controls.Add(this.valueGroupBox);
[2756]132      this.Name = "ValueParameterView";
[2740]133      this.Size = new System.Drawing.Size(386, 315);
134      this.Controls.SetChildIndex(this.descriptionTextBox, 0);
135      this.Controls.SetChildIndex(this.descriptionLabel, 0);
136      this.Controls.SetChildIndex(this.dataTypeTextBox, 0);
137      this.Controls.SetChildIndex(this.dataTypeLabel, 0);
138      this.Controls.SetChildIndex(this.nameTextBox, 0);
139      this.Controls.SetChildIndex(this.nameLabel, 0);
140      this.Controls.SetChildIndex(this.valueGroupBox, 0);
141      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
142      this.valueGroupBox.ResumeLayout(false);
143      this.ResumeLayout(false);
144      this.PerformLayout();
145
146    }
147
148    #endregion
149
150    protected System.Windows.Forms.GroupBox valueGroupBox;
[4011]151    protected HeuristicLab.MainForm.WindowsForms.ViewHost valueViewHost;
[2948]152    protected System.Windows.Forms.Button setValueButton;
153    protected System.Windows.Forms.Button clearValueButton;
[2740]154  }
155}
Note: See TracBrowser for help on using the repository browser.