Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/JsonItemValueControl.Designer.cs @ 17444

Last change on this file since 17444 was 17444, checked in by dpiringe, 4 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: 3.3 KB
Line 
1namespace HeuristicLab.JsonInterface.OptimizerIntegration {
2  partial class JsonItemValueControl {
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.textBoxValue = new System.Windows.Forms.TextBox();
27      this.label2 = new System.Windows.Forms.Label();
28      this.numericRangeControl1 = new HeuristicLab.JsonInterface.OptimizerIntegration.NumericRangeControl();
29      this.SuspendLayout();
30      //
31      // textBoxValue
32      //
33      this.textBoxValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
34            | System.Windows.Forms.AnchorStyles.Right)));
35      this.textBoxValue.Location = new System.Drawing.Point(92, 101);
36      this.textBoxValue.Name = "textBoxValue";
37      this.textBoxValue.Size = new System.Drawing.Size(402, 20);
38      this.textBoxValue.TabIndex = 14;
39      this.textBoxValue.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxValue_Validating);
40      //
41      // label2
42      //
43      this.label2.AutoSize = true;
44      this.label2.Location = new System.Drawing.Point(6, 104);
45      this.label2.Name = "label2";
46      this.label2.Size = new System.Drawing.Size(34, 13);
47      this.label2.TabIndex = 15;
48      this.label2.Text = "Value";
49      //
50      // numericRangeControl1
51      //
52      this.numericRangeControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
53            | System.Windows.Forms.AnchorStyles.Right)));
54      this.numericRangeControl1.Location = new System.Drawing.Point(9, 125);
55      this.numericRangeControl1.Name = "numericRangeControl1";
56      this.numericRangeControl1.Size = new System.Drawing.Size(485, 72);
57      this.numericRangeControl1.TabIndex = 16;
58      //
59      // JsonItemValueControl
60      //
61      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
62      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
63      this.Controls.Add(this.numericRangeControl1);
64      this.Controls.Add(this.label2);
65      this.Controls.Add(this.textBoxValue);
66      this.Name = "JsonItemValueControl";
67      this.Size = new System.Drawing.Size(500, 199);
68      this.Controls.SetChildIndex(this.textBoxValue, 0);
69      this.Controls.SetChildIndex(this.label2, 0);
70      this.Controls.SetChildIndex(this.numericRangeControl1, 0);
71      this.ResumeLayout(false);
72      this.PerformLayout();
73
74    }
75
76    #endregion
77
78    private System.Windows.Forms.TextBox textBoxValue;
79    private System.Windows.Forms.Label label2;
80    private NumericRangeControl numericRangeControl1;
81  }
82}
Note: See TracBrowser for help on using the repository browser.