Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2817-BinPackingSpeedup/HeuristicLab.Optimizer/3.3/ChangeNestingLevelDialog.Designer.cs @ 15866

Last change on this file since 15866 was 15003, checked in by pfleck, 8 years ago

#2788

  • Added a dialog for changing the maximum nesting level (Views menu item).
  • For systems that have the creators update installed and a high nesting level, a warning will be displayed with the option to lower the maximum nesting level.
File size: 6.6 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2016 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.Optimizer {
23  partial class ChangeNestingLevelDialog {
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 && (components != null)) {
35        components.Dispose();
36      }
37      base.Dispose(disposing);
38    }
39
40    #region Windows Form Designer generated code
41
42    /// <summary>
43    /// Required method for Designer support - do not modify
44    /// the contents of this method with the code editor.
45    /// </summary>
46    private void InitializeComponent() {
47      this.okButton = new System.Windows.Forms.Button();
48      this.cancelButton = new System.Windows.Forms.Button();
49      this.nestingLevelNumericUpDownn = new System.Windows.Forms.NumericUpDown();
50      this.nestingLevelLabel = new System.Windows.Forms.Label();
51      this.infoLabel = new System.Windows.Forms.Label();
52      ((System.ComponentModel.ISupportInitialize)(this.nestingLevelNumericUpDownn)).BeginInit();
53      this.SuspendLayout();
54      //
55      // okButton
56      //
57      this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
58      this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
59      this.okButton.Location = new System.Drawing.Point(124, 130);
60      this.okButton.Name = "okButton";
61      this.okButton.Size = new System.Drawing.Size(75, 23);
62      this.okButton.TabIndex = 0;
63      this.okButton.Text = "&OK";
64      this.okButton.UseVisualStyleBackColor = true;
65      this.okButton.Click += new System.EventHandler(this.okButton_Click);
66      //
67      // cancelButton
68      //
69      this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
70      this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
71      this.cancelButton.Location = new System.Drawing.Point(205, 130);
72      this.cancelButton.Name = "cancelButton";
73      this.cancelButton.Size = new System.Drawing.Size(75, 23);
74      this.cancelButton.TabIndex = 1;
75      this.cancelButton.Text = "&Cancel";
76      this.cancelButton.UseVisualStyleBackColor = true;
77      //
78      // nestingLevelNumericUpDownn
79      //
80      this.nestingLevelNumericUpDownn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
81            | System.Windows.Forms.AnchorStyles.Right)));
82      this.nestingLevelNumericUpDownn.Location = new System.Drawing.Point(147, 12);
83      this.nestingLevelNumericUpDownn.Name = "nestingLevelNumericUpDownn";
84      this.nestingLevelNumericUpDownn.Size = new System.Drawing.Size(133, 20);
85      this.nestingLevelNumericUpDownn.TabIndex = 2;
86      //
87      // nestingLevelLabel
88      //
89      this.nestingLevelLabel.AutoSize = true;
90      this.nestingLevelLabel.Location = new System.Drawing.Point(12, 14);
91      this.nestingLevelLabel.Name = "nestingLevelLabel";
92      this.nestingLevelLabel.Size = new System.Drawing.Size(116, 13);
93      this.nestingLevelLabel.TabIndex = 3;
94      this.nestingLevelLabel.Text = "Maximum nesting level:";
95      //
96      // infoLabel
97      //
98      this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
99            | System.Windows.Forms.AnchorStyles.Left)
100            | System.Windows.Forms.AnchorStyles.Right)));
101      this.infoLabel.Location = new System.Drawing.Point(12, 46);
102      this.infoLabel.Name = "infoLabel";
103      this.infoLabel.Size = new System.Drawing.Size(268, 81);
104      this.infoLabel.TabIndex = 4;
105      this.infoLabel.Text = "A high nesting level of controls can cause problems. A maximum level of 35 is rec" +
106    "ommended. If you are using Windows 10 Creators Update, a maximum nesting level o" +
107    "f 25 is recommended.";
108      //
109      // ChangeNestingLevelDialog
110      //
111      this.AcceptButton = this.okButton;
112      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
113      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
114      this.CancelButton = this.cancelButton;
115      this.ClientSize = new System.Drawing.Size(292, 165);
116      this.Controls.Add(this.infoLabel);
117      this.Controls.Add(this.nestingLevelLabel);
118      this.Controls.Add(this.nestingLevelNumericUpDownn);
119      this.Controls.Add(this.cancelButton);
120      this.Controls.Add(this.okButton);
121      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
122      this.MaximizeBox = false;
123      this.MinimizeBox = false;
124      this.Name = "ChangeNestingLevelDialog";
125      this.ShowIcon = false;
126      this.ShowInTaskbar = false;
127      this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
128      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
129      this.Text = "Change Nesting Level";
130      this.TopMost = true;
131      this.Load += new System.EventHandler(this.ChangeNestingLevelDialog_Load);
132      ((System.ComponentModel.ISupportInitialize)(this.nestingLevelNumericUpDownn)).EndInit();
133      this.ResumeLayout(false);
134      this.PerformLayout();
135
136    }
137
138    #endregion
139
140    private System.Windows.Forms.Button okButton;
141    private System.Windows.Forms.Button cancelButton;
142    private System.Windows.Forms.NumericUpDown nestingLevelNumericUpDownn;
143    private System.Windows.Forms.Label nestingLevelLabel;
144    private System.Windows.Forms.Label infoLabel;
145  }
146}
Note: See TracBrowser for help on using the repository browser.