Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Shared/JsonItemBaseControl.Designer.cs @ 17444

Last change on this file since 17444 was 17444, checked in by dpiringe, 5 years ago

#3026:

  • added two new methods in IJsonItem -> FixatePath and LoosenPath to fixate/loosen the path (to enable name changing without effects on path)
  • set IsInRange to virtual and made overrides for IntMatrixJsonItem and DoubleMatrixJsonItem (IsInRange is a bad name and needs to be renamed in future versions)
  • implemented basic validation feedback with ErrorProvider for some inputs (templateName, Name, Range)
  • now all items gets validated before export (validation errors are shown with ErrorHandling.ShowErrorDialog)
  • added a check in AlgorithmConverter to prevent an exception for accessing the first element of an empty IEnumerable
File size: 7.1 KB
Line 
1namespace HeuristicLab.JsonInterface.OptimizerIntegration {
2  partial class JsonItemBaseControl {
3    /// <summary>
4    /// Required designer variable.
5    /// </summary>
6    private System.ComponentModel.IContainer components = null;
7
8    /// <summary>
9    /// Clean up any resources being used.
10    /// </summary>
11    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
12    protected override void Dispose(bool disposing) {
13      if (disposing && (components != null)) {
14        components.Dispose();
15      }
16      base.Dispose(disposing);
17    }
18
19    #region Component Designer generated code
20
21    /// <summary>
22    /// Required method for Designer support - do not modify
23    /// the contents of this method with the code editor.
24    /// </summary>
25    private void InitializeComponent() {
26      this.components = new System.ComponentModel.Container();
27      this.labelEnable = new System.Windows.Forms.Label();
28      this.checkBoxActive = new System.Windows.Forms.CheckBox();
29      this.textBoxActualName = new System.Windows.Forms.TextBox();
30      this.labelActualName = new System.Windows.Forms.Label();
31      this.textBoxName = new System.Windows.Forms.TextBox();
32      this.label1 = new System.Windows.Forms.Label();
33      this.labelDescription = new System.Windows.Forms.Label();
34      this.textBoxDescription = new System.Windows.Forms.TextBox();
35      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
36      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
37      this.SuspendLayout();
38      //
39      // labelEnable
40      //
41      this.labelEnable.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
42            | System.Windows.Forms.AnchorStyles.Right)));
43      this.labelEnable.AutoSize = true;
44      this.labelEnable.Location = new System.Drawing.Point(6, 3);
45      this.labelEnable.Name = "labelEnable";
46      this.labelEnable.Size = new System.Drawing.Size(40, 13);
47      this.labelEnable.TabIndex = 3;
48      this.labelEnable.Text = "Enable";
49      //
50      // checkBoxActive
51      //
52      this.checkBoxActive.AutoSize = true;
53      this.checkBoxActive.Location = new System.Drawing.Point(92, 3);
54      this.checkBoxActive.Name = "checkBoxActive";
55      this.checkBoxActive.Size = new System.Drawing.Size(15, 14);
56      this.checkBoxActive.TabIndex = 2;
57      this.checkBoxActive.UseVisualStyleBackColor = true;
58      //
59      // textBoxActualName
60      //
61      this.textBoxActualName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
62            | System.Windows.Forms.AnchorStyles.Right)));
63      this.textBoxActualName.Location = new System.Drawing.Point(92, 75);
64      this.textBoxActualName.Name = "textBoxActualName";
65      this.textBoxActualName.Size = new System.Drawing.Size(402, 20);
66      this.textBoxActualName.TabIndex = 12;
67      //
68      // labelActualName
69      //
70      this.labelActualName.AutoSize = true;
71      this.labelActualName.Location = new System.Drawing.Point(6, 78);
72      this.labelActualName.Name = "labelActualName";
73      this.labelActualName.Size = new System.Drawing.Size(65, 13);
74      this.labelActualName.TabIndex = 11;
75      this.labelActualName.Text = "ActualName";
76      this.labelActualName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
77      //
78      // textBoxName
79      //
80      this.textBoxName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
81            | System.Windows.Forms.AnchorStyles.Right)));
82      this.errorProvider.SetIconAlignment(this.textBoxName, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
83      this.textBoxName.Location = new System.Drawing.Point(92, 23);
84      this.textBoxName.Name = "textBoxName";
85      this.textBoxName.Size = new System.Drawing.Size(402, 20);
86      this.textBoxName.TabIndex = 10;
87      this.textBoxName.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxName_Validating);
88      //
89      // label1
90      //
91      this.label1.AutoSize = true;
92      this.label1.Location = new System.Drawing.Point(6, 26);
93      this.label1.Name = "label1";
94      this.label1.Size = new System.Drawing.Size(35, 13);
95      this.label1.TabIndex = 9;
96      this.label1.Text = "Name";
97      this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
98      //
99      // labelDescription
100      //
101      this.labelDescription.AutoSize = true;
102      this.labelDescription.Location = new System.Drawing.Point(6, 52);
103      this.labelDescription.Name = "labelDescription";
104      this.labelDescription.Size = new System.Drawing.Size(60, 13);
105      this.labelDescription.TabIndex = 13;
106      this.labelDescription.Text = "Description";
107      //
108      // textBoxDescription
109      //
110      this.textBoxDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
111            | System.Windows.Forms.AnchorStyles.Right)));
112      this.textBoxDescription.Location = new System.Drawing.Point(92, 49);
113      this.textBoxDescription.Name = "textBoxDescription";
114      this.textBoxDescription.Size = new System.Drawing.Size(402, 20);
115      this.textBoxDescription.TabIndex = 14;
116      //
117      // errorProvider
118      //
119      this.errorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;
120      this.errorProvider.ContainerControl = this;
121      //
122      // JsonItemBaseControl
123      //
124      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
125      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
126      this.Controls.Add(this.textBoxDescription);
127      this.Controls.Add(this.labelDescription);
128      this.Controls.Add(this.labelEnable);
129      this.Controls.Add(this.checkBoxActive);
130      this.Controls.Add(this.textBoxActualName);
131      this.Controls.Add(this.labelActualName);
132      this.Controls.Add(this.textBoxName);
133      this.Controls.Add(this.label1);
134      this.errorProvider.SetIconAlignment(this, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
135      this.Name = "JsonItemBaseControl";
136      this.Padding = new System.Windows.Forms.Padding(3);
137      this.Size = new System.Drawing.Size(500, 154);
138      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
139      this.ResumeLayout(false);
140      this.PerformLayout();
141
142    }
143
144    #endregion
145
146    private System.Windows.Forms.Label labelEnable;
147    private System.Windows.Forms.CheckBox checkBoxActive;
148    private System.Windows.Forms.TextBox textBoxActualName;
149    private System.Windows.Forms.Label labelActualName;
150    private System.Windows.Forms.TextBox textBoxName;
151    private System.Windows.Forms.Label label1;
152    private System.Windows.Forms.Label labelDescription;
153    private System.Windows.Forms.TextBox textBoxDescription;
154    protected System.Windows.Forms.ErrorProvider errorProvider;
155  }
156}
Note: See TracBrowser for help on using the repository browser.