Free cookie consent management tool by TermsFeed Policy Generator

Changeset 436


Ignore:
Timestamp:
08/04/08 08:13:32 (16 years ago)
Author:
gkronber
Message:

fixed #226 (View of AllSubOperatorsTypeConstraint is botched)

Location:
trunk/sources/HeuristicLab.Constraints
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Constraints/AllSubOperatorsTypeConstraintView.Designer.cs

    r2 r436  
    4747      this.groupBox = new System.Windows.Forms.GroupBox();
    4848      this.listView = new System.Windows.Forms.ListView();
    49       this.panel = new System.Windows.Forms.Panel();
    5049      this.removeButton = new System.Windows.Forms.Button();
    5150      this.groupBox.SuspendLayout();
    52       this.panel.SuspendLayout();
    5351      this.SuspendLayout();
    5452      //
    5553      // groupBox
    5654      //
     55      this.groupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     56                  | System.Windows.Forms.AnchorStyles.Left)
     57                  | System.Windows.Forms.AnchorStyles.Right)));
    5758      this.groupBox.Controls.Add(this.listView);
    58       this.groupBox.Dock = System.Windows.Forms.DockStyle.Top;
    5959      this.groupBox.Location = new System.Drawing.Point(0, 0);
    6060      this.groupBox.Name = "groupBox";
    61       this.groupBox.Size = new System.Drawing.Size(463, 285);
     61      this.groupBox.Size = new System.Drawing.Size(463, 305);
    6262      this.groupBox.TabIndex = 0;
    6363      this.groupBox.TabStop = false;
     
    7070      this.listView.Location = new System.Drawing.Point(3, 16);
    7171      this.listView.Name = "listView";
    72       this.listView.Size = new System.Drawing.Size(457, 266);
     72      this.listView.Size = new System.Drawing.Size(457, 286);
    7373      this.listView.TabIndex = 1;
    7474      this.listView.UseCompatibleStateImageBehavior = false;
     
    8080      this.listView.DragOver += new System.Windows.Forms.DragEventHandler(this.listView_DragOver);
    8181      //
    82       // panel
    83       //
    84       this.panel.Controls.Add(this.removeButton);
    85       this.panel.Dock = System.Windows.Forms.DockStyle.Bottom;
    86       this.panel.Location = new System.Drawing.Point(0, 291);
    87       this.panel.Name = "panel";
    88       this.panel.Size = new System.Drawing.Size(463, 46);
    89       this.panel.TabIndex = 1;
    90       //
    9182      // removeButton
    9283      //
    93       this.removeButton.Location = new System.Drawing.Point(3, 3);
     84      this.removeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     85      this.removeButton.Location = new System.Drawing.Point(3, 311);
    9486      this.removeButton.Name = "removeButton";
    9587      this.removeButton.Size = new System.Drawing.Size(75, 23);
     
    10395      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    10496      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    105       this.Controls.Add(this.panel);
     97      this.Controls.Add(this.removeButton);
    10698      this.Controls.Add(this.groupBox);
    10799      this.Name = "AllSubOperatorsTypeConstraintView";
    108100      this.Size = new System.Drawing.Size(463, 337);
    109101      this.groupBox.ResumeLayout(false);
    110       this.panel.ResumeLayout(false);
    111102      this.ResumeLayout(false);
    112103
     
    116107
    117108    private System.Windows.Forms.GroupBox groupBox;
    118     private System.Windows.Forms.Panel panel;
    119109    private System.Windows.Forms.Button removeButton;
    120110    private System.Windows.Forms.ListView listView;
  • trunk/sources/HeuristicLab.Constraints/AllSubOperatorsTypeConstraintView.cs

    r430 r436  
    3131namespace HeuristicLab.Constraints {
    3232  public partial class AllSubOperatorsTypeConstraintView : ViewBase {
    33     private SubOperatorTypeConstraint constraint;
     33    private SubOperatorTypeConstraint constraint = new SubOperatorTypeConstraint();
    3434
    3535    public SubOperatorTypeConstraint Constraint {
     
    4646
    4747    public AllSubOperatorsTypeConstraintView(SubOperatorTypeConstraint constraint) {
     48      this.constraint = constraint;
    4849      InitializeComponent();
    49       this.constraint = constraint;
    50       UpdateAllowedOperatorsList();
    5150    }
    5251
  • trunk/sources/HeuristicLab.Constraints/SubOperatorsTypeConstraintView.Designer.cs

    r2 r436  
    7070      // allSubOperatorsTypeConstraintView
    7171      //
     72      this.allSubOperatorsTypeConstraintView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     73                  | System.Windows.Forms.AnchorStyles.Left)
     74                  | System.Windows.Forms.AnchorStyles.Right)));
    7275      this.allSubOperatorsTypeConstraintView.Caption = "View";
    7376      this.allSubOperatorsTypeConstraintView.Location = new System.Drawing.Point(0, 35);
Note: See TracChangeset for help on using the changeset viewer.