Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Optimization.Views/3.3/BatchRunView.Designer.cs @ 4410

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