Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/JsonItemRangeControl.Designer.cs @ 17417

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

#3026:

  • deleted JsonItemArrayControl and JsonItemDefaultControl
  • redesigned architecture for JsonItem: now there are different types of JsonItem (IntJsonItem, BoolJsonItem, ...) -> for better type safety and expandability
  • fixed bug in BaseConverter for GetMinValue and GetMaxValue for IntValue, but ignored for other value types (DoubleValue, DateTimeValue, ...) because the redesign of JsonItem-Architecture can make these two methods obsolet soon
  • fixed bug in JsonItemConverter to prevent null pointer exceptions
  • refactored value and range converters -> removed complicated generic ValueTypeValueConverter and ValueRangeConverter and implemented the necessary methods directly in concrete classes (improves readability and removes the need of reflection)
  • redesigned view handling in OptimizerIntegration -> dynamically seaches for JsonItemVMBase implementations, which are connected with a view
    • this enables better scaling with more user controls
  • JsonItemVMBase implements MVVM architecture
File size: 5.1 KB
Line 
1namespace HeuristicLab.JsonInterface.OptimizerIntegration {
2  partial class JsonItemRangeControl {
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.groupBox1 = new System.Windows.Forms.GroupBox();
27      this.textBoxValueTo = new System.Windows.Forms.TextBox();
28      this.textBoxValueFrom = new System.Windows.Forms.TextBox();
29      this.label4 = new System.Windows.Forms.Label();
30      this.label2 = new System.Windows.Forms.Label();
31      this.numericRangeControl1 = new HeuristicLab.JsonInterface.OptimizerIntegration.NumericRangeControl();
32      this.groupBox1.SuspendLayout();
33      this.SuspendLayout();
34      //
35      // groupBox1
36      //
37      this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
38            | System.Windows.Forms.AnchorStyles.Right)));
39      this.groupBox1.Controls.Add(this.textBoxValueTo);
40      this.groupBox1.Controls.Add(this.textBoxValueFrom);
41      this.groupBox1.Controls.Add(this.label4);
42      this.groupBox1.Controls.Add(this.label2);
43      this.groupBox1.Location = new System.Drawing.Point(9, 75);
44      this.groupBox1.Name = "groupBox1";
45      this.groupBox1.Size = new System.Drawing.Size(487, 64);
46      this.groupBox1.TabIndex = 17;
47      this.groupBox1.TabStop = false;
48      this.groupBox1.Text = "Value";
49      //
50      // textBoxValueTo
51      //
52      this.textBoxValueTo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
53            | System.Windows.Forms.AnchorStyles.Right)));
54      this.textBoxValueTo.Location = new System.Drawing.Point(249, 36);
55      this.textBoxValueTo.Name = "textBoxValueTo";
56      this.textBoxValueTo.Size = new System.Drawing.Size(230, 20);
57      this.textBoxValueTo.TabIndex = 3;
58      //
59      // textBoxValueFrom
60      //
61      this.textBoxValueFrom.Location = new System.Drawing.Point(10, 36);
62      this.textBoxValueFrom.Name = "textBoxValueFrom";
63      this.textBoxValueFrom.Size = new System.Drawing.Size(230, 20);
64      this.textBoxValueFrom.TabIndex = 2;
65      //
66      // label4
67      //
68      this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
69            | System.Windows.Forms.AnchorStyles.Right)));
70      this.label4.AutoSize = true;
71      this.label4.Location = new System.Drawing.Point(246, 20);
72      this.label4.Name = "label4";
73      this.label4.Size = new System.Drawing.Size(20, 13);
74      this.label4.TabIndex = 1;
75      this.label4.Text = "To";
76      //
77      // label2
78      //
79      this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
80            | System.Windows.Forms.AnchorStyles.Right)));
81      this.label2.AutoSize = true;
82      this.label2.Location = new System.Drawing.Point(7, 20);
83      this.label2.Name = "label2";
84      this.label2.Size = new System.Drawing.Size(30, 13);
85      this.label2.TabIndex = 0;
86      this.label2.Text = "From";
87      //
88      // numericRangeControl1
89      //
90      this.numericRangeControl1.Location = new System.Drawing.Point(9, 145);
91      this.numericRangeControl1.Name = "numericRangeControl1";
92      this.numericRangeControl1.Size = new System.Drawing.Size(487, 112);
93      this.numericRangeControl1.TabIndex = 18;
94      //
95      // JsonItemRangeControl
96      //
97      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
98      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
99      this.Controls.Add(this.numericRangeControl1);
100      this.Controls.Add(this.groupBox1);
101      this.Name = "JsonItemRangeControl";
102      this.Size = new System.Drawing.Size(500, 262);
103      this.Controls.SetChildIndex(this.groupBox1, 0);
104      this.Controls.SetChildIndex(this.numericRangeControl1, 0);
105      this.groupBox1.ResumeLayout(false);
106      this.groupBox1.PerformLayout();
107      this.ResumeLayout(false);
108      this.PerformLayout();
109
110    }
111
112    #endregion
113
114    private System.Windows.Forms.GroupBox groupBox1;
115    private System.Windows.Forms.TextBox textBoxValueTo;
116    private System.Windows.Forms.TextBox textBoxValueFrom;
117    private System.Windows.Forms.Label label4;
118    private System.Windows.Forms.Label label2;
119    private NumericRangeControl numericRangeControl1;
120  }
121}
Note: See TracBrowser for help on using the repository browser.