Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.Designer.cs @ 4029

Last change on this file since 4029 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: 17.5 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.Optimization.Views {
23  partial class AlgorithmView {
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 (problemTypeSelectorDialog != null) problemTypeSelectorDialog.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.tabControl = new System.Windows.Forms.TabControl();
49      this.parametersTabPage = new System.Windows.Forms.TabPage();
50      this.parameterCollectionView = new HeuristicLab.Core.Views.ParameterCollectionView();
51      this.problemTabPage = new System.Windows.Forms.TabPage();
52      this.problemViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
53      this.openProblemButton = new System.Windows.Forms.Button();
54      this.newProblemButton = new System.Windows.Forms.Button();
55      this.resultsTabPage = new System.Windows.Forms.TabPage();
56      this.resultsView = new HeuristicLab.Optimization.Views.ResultCollectionView();
57      this.runsTabPage = new System.Windows.Forms.TabPage();
58      this.runsView = new HeuristicLab.Optimization.Views.RunCollectionView();
59      this.startButton = new System.Windows.Forms.Button();
60      this.pauseButton = new System.Windows.Forms.Button();
61      this.resetButton = new System.Windows.Forms.Button();
62      this.executionTimeLabel = new System.Windows.Forms.Label();
63      this.executionTimeTextBox = new System.Windows.Forms.TextBox();
64      this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
65      this.stopButton = new System.Windows.Forms.Button();
66      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
67      this.tabControl.SuspendLayout();
68      this.parametersTabPage.SuspendLayout();
69      this.problemTabPage.SuspendLayout();
70      this.resultsTabPage.SuspendLayout();
71      this.runsTabPage.SuspendLayout();
72      this.SuspendLayout();
73      //
74      // nameTextBox
75      //
76      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
77      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
78      this.nameTextBox.Size = new System.Drawing.Size(607, 20);
79      //
80      // descriptionTextBox
81      //
82      this.descriptionTextBox.Size = new System.Drawing.Size(607, 20);
83      //
84      // tabControl
85      //
86      this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
87                  | System.Windows.Forms.AnchorStyles.Left)
88                  | System.Windows.Forms.AnchorStyles.Right)));
89      this.tabControl.Controls.Add(this.problemTabPage);
90      this.tabControl.Controls.Add(this.parametersTabPage);
91      this.tabControl.Controls.Add(this.resultsTabPage);
92      this.tabControl.Controls.Add(this.runsTabPage);
93      this.tabControl.Location = new System.Drawing.Point(0, 52);
94      this.tabControl.Name = "tabControl";
95      this.tabControl.SelectedIndex = 0;
96      this.tabControl.Size = new System.Drawing.Size(679, 400);
97      this.tabControl.TabIndex = 4;
98      //
99      // parametersTabPage
100      //
101      this.parametersTabPage.Controls.Add(this.parameterCollectionView);
102      this.parametersTabPage.Location = new System.Drawing.Point(4, 22);
103      this.parametersTabPage.Name = "parametersTabPage";
104      this.parametersTabPage.Padding = new System.Windows.Forms.Padding(3);
105      this.parametersTabPage.Size = new System.Drawing.Size(671, 374);
106      this.parametersTabPage.TabIndex = 1;
107      this.parametersTabPage.Text = "Parameters";
108      this.parametersTabPage.UseVisualStyleBackColor = true;
109      //
110      // parameterCollectionView
111      //
112      this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
113                  | System.Windows.Forms.AnchorStyles.Left)
114                  | System.Windows.Forms.AnchorStyles.Right)));
115      this.parameterCollectionView.Content = null;
116      this.parameterCollectionView.Location = new System.Drawing.Point(6, 6);
117      this.parameterCollectionView.Name = "parameterCollectionView";
118      this.parameterCollectionView.Size = new System.Drawing.Size(659, 362);
119      this.parameterCollectionView.TabIndex = 0;
120      //
121      // problemTabPage
122      //
123      this.problemTabPage.Controls.Add(this.problemViewHost);
124      this.problemTabPage.Controls.Add(this.openProblemButton);
125      this.problemTabPage.Controls.Add(this.newProblemButton);
126      this.problemTabPage.Location = new System.Drawing.Point(4, 22);
127      this.problemTabPage.Name = "problemTabPage";
128      this.problemTabPage.Padding = new System.Windows.Forms.Padding(3);
129      this.problemTabPage.Size = new System.Drawing.Size(671, 374);
130      this.problemTabPage.TabIndex = 0;
131      this.problemTabPage.Text = "Problem";
132      this.problemTabPage.UseVisualStyleBackColor = true;
133      //
134      // problemViewHost
135      //
136      this.problemViewHost.AllowDrop = true;
137      this.problemViewHost.Content = null;
138      this.problemViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
139                  | System.Windows.Forms.AnchorStyles.Left)
140                  | System.Windows.Forms.AnchorStyles.Right)));
141      this.problemViewHost.Location = new System.Drawing.Point(6, 36);
142      this.problemViewHost.Name = "problemViewHost";
143      this.problemViewHost.Size = new System.Drawing.Size(659, 332);
144      this.problemViewHost.TabIndex = 3;
145      this.problemViewHost.ViewType = null;
146      this.problemViewHost.DragOver += new System.Windows.Forms.DragEventHandler(this.problemViewHost_DragEnterOver);
147      this.problemViewHost.DragDrop += new System.Windows.Forms.DragEventHandler(this.problemViewHost_DragDrop);
148      this.problemViewHost.DragEnter += new System.Windows.Forms.DragEventHandler(this.problemViewHost_DragEnterOver);
149      //
150      // openProblemButton
151      //
152      this.openProblemButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Open;
153      this.openProblemButton.Location = new System.Drawing.Point(36, 6);
154      this.openProblemButton.Name = "openProblemButton";
155      this.openProblemButton.Size = new System.Drawing.Size(24, 24);
156      this.openProblemButton.TabIndex = 1;
157      this.toolTip.SetToolTip(this.openProblemButton, "Open Problem");
158      this.openProblemButton.UseVisualStyleBackColor = true;
159      this.openProblemButton.Click += new System.EventHandler(this.openProblemButton_Click);
160      //
161      // newProblemButton
162      //
163      this.newProblemButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.NewDocument;
164      this.newProblemButton.Location = new System.Drawing.Point(6, 6);
165      this.newProblemButton.Name = "newProblemButton";
166      this.newProblemButton.Size = new System.Drawing.Size(24, 24);
167      this.newProblemButton.TabIndex = 0;
168      this.toolTip.SetToolTip(this.newProblemButton, "New Problem");
169      this.newProblemButton.UseVisualStyleBackColor = true;
170      this.newProblemButton.Click += new System.EventHandler(this.newProblemButton_Click);
171      //
172      // resultsTabPage
173      //
174      this.resultsTabPage.Controls.Add(this.resultsView);
175      this.resultsTabPage.Location = new System.Drawing.Point(4, 22);
176      this.resultsTabPage.Name = "resultsTabPage";
177      this.resultsTabPage.Padding = new System.Windows.Forms.Padding(3);
178      this.resultsTabPage.Size = new System.Drawing.Size(671, 374);
179      this.resultsTabPage.TabIndex = 2;
180      this.resultsTabPage.Text = "Results";
181      this.resultsTabPage.UseVisualStyleBackColor = true;
182      //
183      // resultsView
184      //
185      this.resultsView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
186                  | System.Windows.Forms.AnchorStyles.Left)
187                  | System.Windows.Forms.AnchorStyles.Right)));
188      this.resultsView.Content = null;
189      this.resultsView.Location = new System.Drawing.Point(6, 6);
190      this.resultsView.Name = "resultsView";
191      this.resultsView.Size = new System.Drawing.Size(659, 362);
192      this.resultsView.TabIndex = 0;
193      //
194      // runsTabPage
195      //
196      this.runsTabPage.Controls.Add(this.runsView);
197      this.runsTabPage.Location = new System.Drawing.Point(4, 22);
198      this.runsTabPage.Name = "runsTabPage";
199      this.runsTabPage.Padding = new System.Windows.Forms.Padding(3);
200      this.runsTabPage.Size = new System.Drawing.Size(671, 374);
201      this.runsTabPage.TabIndex = 3;
202      this.runsTabPage.Text = "Runs";
203      this.runsTabPage.UseVisualStyleBackColor = true;
204      //
205      // runsView
206      //
207      this.runsView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
208                  | System.Windows.Forms.AnchorStyles.Left)
209                  | System.Windows.Forms.AnchorStyles.Right)));
210      this.runsView.Content = null;
211      this.runsView.Location = new System.Drawing.Point(6, 6);
212      this.runsView.Name = "runsView";
213      this.runsView.Size = new System.Drawing.Size(659, 362);
214      this.runsView.TabIndex = 0;
215      //
216      // startButton
217      //
218      this.startButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
219      this.startButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Play;
220      this.startButton.Location = new System.Drawing.Point(0, 458);
221      this.startButton.Name = "startButton";
222      this.startButton.Size = new System.Drawing.Size(24, 24);
223      this.startButton.TabIndex = 5;
224      this.toolTip.SetToolTip(this.startButton, "Start/Resume Algorithm");
225      this.startButton.UseVisualStyleBackColor = true;
226      this.startButton.Click += new System.EventHandler(this.startButton_Click);
227      //
228      // pauseButton
229      //
230      this.pauseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
231      this.pauseButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Pause;
232      this.pauseButton.Location = new System.Drawing.Point(30, 458);
233      this.pauseButton.Name = "pauseButton";
234      this.pauseButton.Size = new System.Drawing.Size(24, 24);
235      this.pauseButton.TabIndex = 6;
236      this.toolTip.SetToolTip(this.pauseButton, "Pause Algorithm");
237      this.pauseButton.UseVisualStyleBackColor = true;
238      this.pauseButton.Click += new System.EventHandler(this.pauseButton_Click);
239      //
240      // resetButton
241      //
242      this.resetButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
243      this.resetButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Restart;
244      this.resetButton.Location = new System.Drawing.Point(90, 458);
245      this.resetButton.Name = "resetButton";
246      this.resetButton.Size = new System.Drawing.Size(24, 24);
247      this.resetButton.TabIndex = 8;
248      this.toolTip.SetToolTip(this.resetButton, "Reset Algorithm");
249      this.resetButton.UseVisualStyleBackColor = true;
250      this.resetButton.Click += new System.EventHandler(this.resetButton_Click);
251      //
252      // executionTimeLabel
253      //
254      this.executionTimeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
255      this.executionTimeLabel.AutoSize = true;
256      this.executionTimeLabel.Location = new System.Drawing.Point(453, 465);
257      this.executionTimeLabel.Name = "executionTimeLabel";
258      this.executionTimeLabel.Size = new System.Drawing.Size(83, 13);
259      this.executionTimeLabel.TabIndex = 9;
260      this.executionTimeLabel.Text = "&Execution Time:";
261      //
262      // executionTimeTextBox
263      //
264      this.executionTimeTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
265      this.executionTimeTextBox.Location = new System.Drawing.Point(542, 462);
266      this.executionTimeTextBox.Name = "executionTimeTextBox";
267      this.executionTimeTextBox.ReadOnly = true;
268      this.executionTimeTextBox.Size = new System.Drawing.Size(137, 20);
269      this.executionTimeTextBox.TabIndex = 10;
270      //
271      // openFileDialog
272      //
273      this.openFileDialog.DefaultExt = "hl";
274      this.openFileDialog.FileName = "Problem";
275      this.openFileDialog.Filter = "HeuristicLab Files|*.hl|All Files|*.*";
276      this.openFileDialog.Title = "Open Problem";
277      //
278      // stopButton
279      //
280      this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
281      this.stopButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Stop;
282      this.stopButton.Location = new System.Drawing.Point(60, 458);
283      this.stopButton.Name = "stopButton";
284      this.stopButton.Size = new System.Drawing.Size(24, 24);
285      this.stopButton.TabIndex = 7;
286      this.toolTip.SetToolTip(this.stopButton, "Stop Algorithm");
287      this.stopButton.UseVisualStyleBackColor = true;
288      this.stopButton.Click += new System.EventHandler(this.stopButton_Click);
289      //
290      // AlgorithmView
291      //
292      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
293      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
294      this.Controls.Add(this.tabControl);
295      this.Controls.Add(this.startButton);
296      this.Controls.Add(this.pauseButton);
297      this.Controls.Add(this.executionTimeTextBox);
298      this.Controls.Add(this.executionTimeLabel);
299      this.Controls.Add(this.stopButton);
300      this.Controls.Add(this.resetButton);
301      this.Name = "AlgorithmView";
302      this.Size = new System.Drawing.Size(679, 482);
303      this.Controls.SetChildIndex(this.resetButton, 0);
304      this.Controls.SetChildIndex(this.stopButton, 0);
305      this.Controls.SetChildIndex(this.executionTimeLabel, 0);
306      this.Controls.SetChildIndex(this.executionTimeTextBox, 0);
307      this.Controls.SetChildIndex(this.pauseButton, 0);
308      this.Controls.SetChildIndex(this.startButton, 0);
309      this.Controls.SetChildIndex(this.tabControl, 0);
310      this.Controls.SetChildIndex(this.nameLabel, 0);
311      this.Controls.SetChildIndex(this.descriptionLabel, 0);
312      this.Controls.SetChildIndex(this.nameTextBox, 0);
313      this.Controls.SetChildIndex(this.descriptionTextBox, 0);
314      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
315      this.tabControl.ResumeLayout(false);
316      this.parametersTabPage.ResumeLayout(false);
317      this.problemTabPage.ResumeLayout(false);
318      this.resultsTabPage.ResumeLayout(false);
319      this.runsTabPage.ResumeLayout(false);
320      this.ResumeLayout(false);
321      this.PerformLayout();
322
323    }
324
325    #endregion
326
327    protected System.Windows.Forms.TabControl tabControl;
328    protected System.Windows.Forms.TabPage parametersTabPage;
329    protected System.Windows.Forms.TabPage problemTabPage;
330    protected HeuristicLab.Core.Views.ParameterCollectionView parameterCollectionView;
331    protected HeuristicLab.MainForm.WindowsForms.ViewHost problemViewHost;
332    protected System.Windows.Forms.Button newProblemButton;
333    protected System.Windows.Forms.Button openProblemButton;
334    protected System.Windows.Forms.Button startButton;
335    protected System.Windows.Forms.Button pauseButton;
336    protected System.Windows.Forms.Button resetButton;
337    protected System.Windows.Forms.Label executionTimeLabel;
338    protected System.Windows.Forms.TextBox executionTimeTextBox;
339    protected System.Windows.Forms.OpenFileDialog openFileDialog;
340    protected System.Windows.Forms.TabPage resultsTabPage;
341    protected HeuristicLab.Optimization.Views.ResultCollectionView resultsView;
342    protected System.Windows.Forms.Button stopButton;
343    protected System.Windows.Forms.TabPage runsTabPage;
344    protected RunCollectionView runsView;
345  }
346}
Note: See TracBrowser for help on using the repository browser.