Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 17410 was 17410, checked in by dpiringe, 4 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.0 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.labelEnable = new System.Windows.Forms.Label();
27      this.checkBoxActive = new System.Windows.Forms.CheckBox();
28      this.textBoxActualName = new System.Windows.Forms.TextBox();
29      this.labelActualName = new System.Windows.Forms.Label();
30      this.textBoxName = new System.Windows.Forms.TextBox();
31      this.label1 = new System.Windows.Forms.Label();
32      this.SuspendLayout();
33      //
34      // labelEnable
35      //
36      this.labelEnable.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
37            | System.Windows.Forms.AnchorStyles.Right)));
38      this.labelEnable.AutoSize = true;
39      this.labelEnable.Location = new System.Drawing.Point(6, 3);
40      this.labelEnable.Name = "labelEnable";
41      this.labelEnable.Size = new System.Drawing.Size(40, 13);
42      this.labelEnable.TabIndex = 3;
43      this.labelEnable.Text = "Enable";
44      //
45      // checkBoxActive
46      //
47      this.checkBoxActive.AutoSize = true;
48      this.checkBoxActive.Location = new System.Drawing.Point(92, 3);
49      this.checkBoxActive.Name = "checkBoxActive";
50      this.checkBoxActive.Size = new System.Drawing.Size(15, 14);
51      this.checkBoxActive.TabIndex = 2;
52      this.checkBoxActive.UseVisualStyleBackColor = true;
53      //
54      // textBoxActualName
55      //
56      this.textBoxActualName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
57            | System.Windows.Forms.AnchorStyles.Right)));
58      this.textBoxActualName.Location = new System.Drawing.Point(92, 49);
59      this.textBoxActualName.Name = "textBoxActualName";
60      this.textBoxActualName.Size = new System.Drawing.Size(404, 20);
61      this.textBoxActualName.TabIndex = 12;
62      //
63      // labelActualName
64      //
65      this.labelActualName.AutoSize = true;
66      this.labelActualName.Location = new System.Drawing.Point(6, 52);
67      this.labelActualName.Name = "labelActualName";
68      this.labelActualName.Size = new System.Drawing.Size(65, 13);
69      this.labelActualName.TabIndex = 11;
70      this.labelActualName.Text = "ActualName";
71      this.labelActualName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
72      //
73      // textBoxName
74      //
75      this.textBoxName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
76            | System.Windows.Forms.AnchorStyles.Right)));
77      this.textBoxName.Location = new System.Drawing.Point(92, 23);
78      this.textBoxName.Name = "textBoxName";
79      this.textBoxName.ReadOnly = true;
80      this.textBoxName.Size = new System.Drawing.Size(404, 20);
81      this.textBoxName.TabIndex = 10;
82      //
83      // label1
84      //
85      this.label1.AutoSize = true;
86      this.label1.Location = new System.Drawing.Point(6, 26);
87      this.label1.Name = "label1";
88      this.label1.Size = new System.Drawing.Size(35, 13);
89      this.label1.TabIndex = 9;
90      this.label1.Text = "Name";
91      this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
92      //
93      // JsonItemBaseControl
94      //
95      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
96      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
97      this.Controls.Add(this.labelEnable);
98      this.Controls.Add(this.checkBoxActive);
99      this.Controls.Add(this.textBoxActualName);
100      this.Controls.Add(this.labelActualName);
101      this.Controls.Add(this.textBoxName);
102      this.Controls.Add(this.label1);
103      this.Name = "JsonItemBaseControl";
104      this.Padding = new System.Windows.Forms.Padding(3);
105      this.Size = new System.Drawing.Size(502, 154);
106      this.ResumeLayout(false);
107      this.PerformLayout();
108
109    }
110
111    #endregion
112
113    private System.Windows.Forms.Label labelEnable;
114    private System.Windows.Forms.CheckBox checkBoxActive;
115    private System.Windows.Forms.TextBox textBoxActualName;
116    private System.Windows.Forms.Label labelActualName;
117    private System.Windows.Forms.TextBox textBoxName;
118    private System.Windows.Forms.Label label1;
119  }
120}
Note: See TracBrowser for help on using the repository browser.