Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/StructureTemplate/StructureTemplateView.Designer.cs @ 18154

Last change on this file since 18154 was 18154, checked in by dpiringe, 2 years ago

#3136

  • overwrote the method SetEnabledStateOfControls for StructureTemplateView
  • fixed the wrong usage of infoLabel in StructureTemplateView -> added a new label errorLabel for textual output
  • deleted the resource file for StructureTemplateView
File size: 9.9 KB
Line 
1
2using System.Drawing;
3using System.Windows.Forms;
4
5namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views {
6  partial class StructureTemplateView {
7   
8    /// <summary>
9    /// Required method for Designer support - do not modify
10    /// the contents of this method with the code editor.
11    /// </summary>
12    private void InitializeComponent() {
13      this.components = new System.ComponentModel.Container();
14      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StructureTemplateView));
15      this.detailsGroupBox = new System.Windows.Forms.GroupBox();
16      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
17      this.templateStructureGroupBox = new System.Windows.Forms.GroupBox();
18      this.linearScalingCheckBox = new System.Windows.Forms.CheckBox();
19      this.infoLabel = new System.Windows.Forms.Label();
20      this.treeChart = new HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views.SymbolicExpressionTreeChart();
21      this.parseButton = new System.Windows.Forms.Button();
22      this.expressionInput = new System.Windows.Forms.TextBox();
23      this.splitContainer = new System.Windows.Forms.SplitContainer();
24      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
25      this.errorLabel = new System.Windows.Forms.Label();
26      this.detailsGroupBox.SuspendLayout();
27      this.templateStructureGroupBox.SuspendLayout();
28      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
29      this.splitContainer.Panel1.SuspendLayout();
30      this.splitContainer.Panel2.SuspendLayout();
31      this.splitContainer.SuspendLayout();
32      this.SuspendLayout();
33      //
34      // detailsGroupBox
35      //
36      this.detailsGroupBox.Controls.Add(this.viewHost);
37      this.detailsGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
38      this.detailsGroupBox.Location = new System.Drawing.Point(0, 0);
39      this.detailsGroupBox.Name = "detailsGroupBox";
40      this.detailsGroupBox.Size = new System.Drawing.Size(296, 400);
41      this.detailsGroupBox.TabIndex = 9;
42      this.detailsGroupBox.TabStop = false;
43      this.detailsGroupBox.Text = "Details";
44      //
45      // viewHost
46      //
47      this.viewHost.Caption = "View";
48      this.viewHost.Content = null;
49      this.viewHost.Dock = System.Windows.Forms.DockStyle.Fill;
50      this.viewHost.Enabled = false;
51      this.viewHost.Location = new System.Drawing.Point(3, 16);
52      this.viewHost.Name = "viewHost";
53      this.viewHost.ReadOnly = false;
54      this.viewHost.Size = new System.Drawing.Size(290, 381);
55      this.viewHost.TabIndex = 8;
56      this.viewHost.ViewsLabelVisible = true;
57      this.viewHost.ViewType = null;
58      //
59      // templateStructureGroupBox
60      //
61      this.templateStructureGroupBox.Controls.Add(this.errorLabel);
62      this.templateStructureGroupBox.Controls.Add(this.linearScalingCheckBox);
63      this.templateStructureGroupBox.Controls.Add(this.infoLabel);
64      this.templateStructureGroupBox.Controls.Add(this.treeChart);
65      this.templateStructureGroupBox.Controls.Add(this.parseButton);
66      this.templateStructureGroupBox.Controls.Add(this.expressionInput);
67      this.templateStructureGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
68      this.templateStructureGroupBox.Location = new System.Drawing.Point(0, 0);
69      this.templateStructureGroupBox.Name = "templateStructureGroupBox";
70      this.templateStructureGroupBox.Size = new System.Drawing.Size(300, 400);
71      this.templateStructureGroupBox.TabIndex = 8;
72      this.templateStructureGroupBox.TabStop = false;
73      this.templateStructureGroupBox.Text = "Template Structure";
74      //
75      // linearScalingCheckBox
76      //
77      this.linearScalingCheckBox.AutoSize = true;
78      this.linearScalingCheckBox.Location = new System.Drawing.Point(149, 49);
79      this.linearScalingCheckBox.Name = "linearScalingCheckBox";
80      this.linearScalingCheckBox.Size = new System.Drawing.Size(122, 17);
81      this.linearScalingCheckBox.TabIndex = 8;
82      this.linearScalingCheckBox.Text = "Apply Linear Scaling";
83      this.linearScalingCheckBox.UseVisualStyleBackColor = true;
84      this.linearScalingCheckBox.CheckStateChanged += new System.EventHandler(this.LinearScalingCheckBoxCheckStateChanged);
85      //
86      // infoLabel
87      //
88      this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
89      this.infoLabel.BackColor = System.Drawing.Color.White;
90      this.infoLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Information;
91      this.infoLabel.Location = new System.Drawing.Point(275, 22);
92      this.infoLabel.Name = "infoLabel";
93      this.infoLabel.Size = new System.Drawing.Size(15, 15);
94      this.infoLabel.TabIndex = 4;
95      this.infoLabel.Text = "    ";
96      this.toolTip.SetToolTip(this.infoLabel, "Double-click to open description.");
97      this.infoLabel.DoubleClick += new System.EventHandler(this.HelpButtonDoubleClick);
98      //
99      // treeChart
100      //
101      this.treeChart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
102            | System.Windows.Forms.AnchorStyles.Left)
103            | System.Windows.Forms.AnchorStyles.Right)));
104      this.treeChart.BackgroundColor = System.Drawing.Color.White;
105      this.treeChart.LineColor = System.Drawing.Color.Black;
106      this.treeChart.Location = new System.Drawing.Point(3, 74);
107      this.treeChart.MinimumHorizontalDistance = 30;
108      this.treeChart.MinimumHorizontalPadding = 20;
109      this.treeChart.MinimumVerticalDistance = 30;
110      this.treeChart.MinimumVerticalPadding = 20;
111      this.treeChart.Name = "treeChart";
112      this.treeChart.PreferredNodeHeight = 46;
113      this.treeChart.PreferredNodeWidth = 70;
114      this.treeChart.Size = new System.Drawing.Size(291, 320);
115      this.treeChart.SuspendRepaint = false;
116      this.treeChart.TabIndex = 7;
117      this.treeChart.TextFont = new System.Drawing.Font("Times New Roman", 8F);
118      this.treeChart.Tree = null;
119      //
120      // parseButton
121      //
122      this.parseButton.Location = new System.Drawing.Point(3, 45);
123      this.parseButton.Name = "parseButton";
124      this.parseButton.Size = new System.Drawing.Size(140, 23);
125      this.parseButton.TabIndex = 3;
126      this.parseButton.Text = "Parse";
127      this.parseButton.UseVisualStyleBackColor = true;
128      this.parseButton.Click += new System.EventHandler(this.ParseButtonClick);
129      //
130      // expressionInput
131      //
132      this.expressionInput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
133            | System.Windows.Forms.AnchorStyles.Right)));
134      this.expressionInput.Location = new System.Drawing.Point(3, 19);
135      this.expressionInput.Name = "expressionInput";
136      this.expressionInput.Size = new System.Drawing.Size(266, 20);
137      this.expressionInput.TabIndex = 1;
138      this.expressionInput.TextChanged += new System.EventHandler(this.ExpressionInputTextChanged);
139      this.expressionInput.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ExpressionInputKeyUp);
140      //
141      // splitContainer
142      //
143      this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
144      this.splitContainer.Location = new System.Drawing.Point(0, 0);
145      this.splitContainer.Margin = new System.Windows.Forms.Padding(0);
146      this.splitContainer.Name = "splitContainer";
147      //
148      // splitContainer.Panel1
149      //
150      this.splitContainer.Panel1.Controls.Add(this.templateStructureGroupBox);
151      this.splitContainer.Panel1MinSize = 5;
152      //
153      // splitContainer.Panel2
154      //
155      this.splitContainer.Panel2.Controls.Add(this.detailsGroupBox);
156      this.splitContainer.Panel2MinSize = 5;
157      this.splitContainer.Size = new System.Drawing.Size(600, 400);
158      this.splitContainer.SplitterDistance = 300;
159      this.splitContainer.TabIndex = 10;
160      //
161      // errorLabel
162      //
163      this.errorLabel.AutoSize = true;
164      this.errorLabel.BackColor = System.Drawing.Color.White;
165      this.errorLabel.Location = new System.Drawing.Point(3, 74);
166      this.errorLabel.Name = "errorLabel";
167      this.errorLabel.Size = new System.Drawing.Size(0, 13);
168      this.errorLabel.TabIndex = 9;
169      //
170      // StructureTemplateView
171      //
172      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
173      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
174      this.Controls.Add(this.splitContainer);
175      this.Name = "StructureTemplateView";
176      this.Size = new System.Drawing.Size(600, 400);
177      this.detailsGroupBox.ResumeLayout(false);
178      this.templateStructureGroupBox.ResumeLayout(false);
179      this.templateStructureGroupBox.PerformLayout();
180      this.splitContainer.Panel1.ResumeLayout(false);
181      this.splitContainer.Panel2.ResumeLayout(false);
182      ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit();
183      this.splitContainer.ResumeLayout(false);
184      this.ResumeLayout(false);
185
186    }
187
188
189    private System.Windows.Forms.GroupBox detailsGroupBox;
190    private MainForm.WindowsForms.ViewHost viewHost;
191    private System.Windows.Forms.GroupBox templateStructureGroupBox;
192    private System.Windows.Forms.CheckBox linearScalingCheckBox;
193    private System.Windows.Forms.Label infoLabel;
194    private Encodings.SymbolicExpressionTreeEncoding.Views.SymbolicExpressionTreeChart treeChart;
195    private System.Windows.Forms.Button parseButton;
196    private System.Windows.Forms.TextBox expressionInput;
197    private System.Windows.Forms.SplitContainer splitContainer;
198    private System.ComponentModel.IContainer components;
199    private ToolTip toolTip;
200    private Label errorLabel;
201  }
202}
Note: See TracBrowser for help on using the repository browser.