Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/09/20 10:36:09 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • deleted INamedMatrixJsonItem and all corresponding classes/views, because of bad design
  • added ILookupJsonItem and IValueLookupJsonItem (incl. all corresponding implementations, VMs, Views)
  • added IResultJsonItem
  • changed type of property Control from JsonItemBaseControl to UserControl in IJsonItemVM (because the details control now builds up with linked user controls -> allows better construction of dynamic controls)
  • added all properties of INamedMatrixJsonItem in IMatrixJsonItem
  • refactored a lot of views for better usage (TableLayoutPanel is used a lot now -> for better item positioning)
  • property ActualName is now located in ILookupJsonItem instead of IJsonItem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/JsonItemBoolControl.Designer.cs

    r17464 r17471  
    2626      this.checkBoxValue = new System.Windows.Forms.CheckBox();
    2727      this.label2 = new System.Windows.Forms.Label();
     28      this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     29      this.tableLayoutPanel1.SuspendLayout();
    2830      this.SuspendLayout();
    2931      //
    3032      // checkBoxValue
    3133      //
    32       this.checkBoxValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    33             | System.Windows.Forms.AnchorStyles.Right)));
    3434      this.checkBoxValue.AutoSize = true;
    35       this.checkBoxValue.Location = new System.Drawing.Point(89, 1);
     35      this.checkBoxValue.Dock = System.Windows.Forms.DockStyle.Fill;
     36      this.checkBoxValue.Location = new System.Drawing.Point(100, 0);
     37      this.checkBoxValue.Margin = new System.Windows.Forms.Padding(0);
    3638      this.checkBoxValue.Name = "checkBoxValue";
    37       this.checkBoxValue.Size = new System.Drawing.Size(15, 14);
     39      this.checkBoxValue.Size = new System.Drawing.Size(400, 22);
    3840      this.checkBoxValue.TabIndex = 19;
    3941      this.checkBoxValue.UseVisualStyleBackColor = true;
     
    4244      //
    4345      this.label2.AutoSize = true;
    44       this.label2.Location = new System.Drawing.Point(3, 1);
     46      this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
     47      this.label2.Location = new System.Drawing.Point(0, 0);
     48      this.label2.Margin = new System.Windows.Forms.Padding(0);
    4549      this.label2.Name = "label2";
    46       this.label2.Size = new System.Drawing.Size(34, 13);
     50      this.label2.Size = new System.Drawing.Size(100, 22);
    4751      this.label2.TabIndex = 20;
    4852      this.label2.Text = "Value";
     53      this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     54      //
     55      // tableLayoutPanel1
     56      //
     57      this.tableLayoutPanel1.ColumnCount = 2;
     58      this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
     59      this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     60      this.tableLayoutPanel1.Controls.Add(this.checkBoxValue, 1, 0);
     61      this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0);
     62      this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
     63      this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     64      this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
     65      this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     66      this.tableLayoutPanel1.RowCount = 1;
     67      this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     68      this.tableLayoutPanel1.Size = new System.Drawing.Size(500, 22);
     69      this.tableLayoutPanel1.TabIndex = 22;
    4970      //
    5071      // JsonItemBoolControl
     
    5273      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    5374      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    54       this.Controls.Add(this.checkBoxValue);
    55       this.Controls.Add(this.label2);
     75      this.Controls.Add(this.tableLayoutPanel1);
     76      this.Margin = new System.Windows.Forms.Padding(0);
    5677      this.Name = "JsonItemBoolControl";
    57       this.Size = new System.Drawing.Size(500, 15);
     78      this.Size = new System.Drawing.Size(500, 22);
     79      this.tableLayoutPanel1.ResumeLayout(false);
     80      this.tableLayoutPanel1.PerformLayout();
    5881      this.ResumeLayout(false);
    59       this.PerformLayout();
    6082
    6183    }
     
    6486    private System.Windows.Forms.CheckBox checkBoxValue;
    6587    private System.Windows.Forms.Label label2;
     88    private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
    6689  }
    6790}
Note: See TracChangeset for help on using the changeset viewer.