Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.Designer.cs @ 4011

Last change on this file since 4011 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
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
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 {
23  partial class ValueParameterView<T> {
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() {
48      this.valueGroupBox = new System.Windows.Forms.GroupBox();
49      this.valueViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
50      this.clearValueButton = new System.Windows.Forms.Button();
51      this.setValueButton = new System.Windows.Forms.Button();
52      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
53      this.valueGroupBox.SuspendLayout();
54      this.SuspendLayout();
55      //
56      // dataTypeTextBox
57      //
58      this.dataTypeTextBox.Location = new System.Drawing.Point(80, 52);
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);
71      this.descriptionTextBox.Size = new System.Drawing.Size(306, 20);
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)));
78      this.valueGroupBox.Controls.Add(this.valueViewHost);
79      this.valueGroupBox.Controls.Add(this.clearValueButton);
80      this.valueGroupBox.Controls.Add(this.setValueButton);
81      this.valueGroupBox.Location = new System.Drawing.Point(0, 78);
82      this.valueGroupBox.Name = "valueGroupBox";
83      this.valueGroupBox.Size = new System.Drawing.Size(386, 237);
84      this.valueGroupBox.TabIndex = 6;
85      this.valueGroupBox.TabStop = false;
86      this.valueGroupBox.Text = "Value";
87      //
88      // viewHost
89      //
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)
93                  | System.Windows.Forms.AnchorStyles.Left)
94                  | System.Windows.Forms.AnchorStyles.Right)));
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);
103      //
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      //
118      this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Edit;
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      //
127      // ValueParameterView
128      //
129      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
130      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
131      this.Controls.Add(this.valueGroupBox);
132      this.Name = "ValueParameterView";
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;
151    protected HeuristicLab.MainForm.WindowsForms.ViewHost valueViewHost;
152    protected System.Windows.Forms.Button setValueButton;
153    protected System.Windows.Forms.Button clearValueButton;
154  }
155}
Note: See TracBrowser for help on using the repository browser.