Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/22/12 15:03:32 (12 years ago)
Author:
bburlacu
Message:

#1763: Bugfixes and refactoring as suggested in the comments above.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.TreeSimplifier/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/TreeEditDialogs/SymbolicExpressionTreeNodeChangeValueDialog.Designer.cs

    r8409 r8935  
    5353      this.variableNameLabel = new System.Windows.Forms.Label();
    5454      this.variableNamesCombo = new System.Windows.Forms.ComboBox();
     55      this.okButton = new System.Windows.Forms.Button();
     56      this.cancelButton = new System.Windows.Forms.Button();
    5557      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5658      this.SuspendLayout();
     
    5961      //
    6062      this.originalValueLabel.AutoSize = true;
    61       this.originalValueLabel.Location = new System.Drawing.Point(14, 15);
     63      this.originalValueLabel.Location = new System.Drawing.Point(12, 45);
    6264      this.originalValueLabel.Name = "originalValueLabel";
    6365      this.originalValueLabel.Size = new System.Drawing.Size(72, 13);
     
    6769      // oldValueTextBox
    6870      //
    69       this.oldValueTextBox.Location = new System.Drawing.Point(123, 12);
     71      this.oldValueTextBox.Location = new System.Drawing.Point(123, 42);
    7072      this.oldValueTextBox.Name = "oldValueTextBox";
    7173      this.oldValueTextBox.ReadOnly = true;
     
    7577      // newValueTextBox
    7678      //
    77       this.newValueTextBox.Location = new System.Drawing.Point(123, 38);
     79      this.newValueTextBox.Location = new System.Drawing.Point(123, 82);
    7880      this.newValueTextBox.Name = "newValueTextBox";
    7981      this.newValueTextBox.Size = new System.Drawing.Size(131, 20);
     
    8688      //
    8789      this.newValueLabel.AutoSize = true;
    88       this.newValueLabel.Location = new System.Drawing.Point(14, 41);
     90      this.newValueLabel.Location = new System.Drawing.Point(12, 85);
    8991      this.newValueLabel.Name = "newValueLabel";
    9092      this.newValueLabel.Size = new System.Drawing.Size(59, 13);
     
    101103      //
    102104      this.variableNameLabel.AutoSize = true;
    103       this.variableNameLabel.Location = new System.Drawing.Point(14, 74);
     105      this.variableNameLabel.Location = new System.Drawing.Point(12, 7);
    104106      this.variableNameLabel.Name = "variableNameLabel";
    105107      this.variableNameLabel.Size = new System.Drawing.Size(76, 13);
     
    112114      this.variableNamesCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
    113115      this.variableNamesCombo.FormattingEnabled = true;
    114       this.variableNamesCombo.Location = new System.Drawing.Point(123, 71);
     116      this.variableNamesCombo.Location = new System.Drawing.Point(123, 4);
    115117      this.variableNamesCombo.Name = "variableNamesCombo";
    116118      this.variableNamesCombo.Size = new System.Drawing.Size(131, 21);
     
    121123      this.variableNamesCombo.Validated += new System.EventHandler(this.variableNamesCombo_Validated);
    122124      //
     125      // okButton
     126      //
     127      this.okButton.Location = new System.Drawing.Point(15, 119);
     128      this.okButton.Name = "okButton";
     129      this.okButton.Size = new System.Drawing.Size(75, 23);
     130      this.okButton.TabIndex = 8;
     131      this.okButton.Text = "OK";
     132      this.okButton.UseVisualStyleBackColor = true;
     133      this.okButton.Click += new System.EventHandler(this.okButton_Click);
     134      //
     135      // cancelButton
     136      //
     137      this.cancelButton.CausesValidation = false;
     138      this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     139      this.cancelButton.Location = new System.Drawing.Point(179, 119);
     140      this.cancelButton.Name = "cancelButton";
     141      this.cancelButton.Size = new System.Drawing.Size(75, 23);
     142      this.cancelButton.TabIndex = 9;
     143      this.cancelButton.Text = "Cancel";
     144      this.cancelButton.UseVisualStyleBackColor = true;
     145      this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
     146      //
    123147      // ValueChangeDialog
    124148      //
     
    126150      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    127151      this.AutoSize = true;
    128       this.ClientSize = new System.Drawing.Size(269, 103);
     152      this.CancelButton = this.cancelButton;
     153      this.ClientSize = new System.Drawing.Size(269, 154);
     154      this.ControlBox = false;
     155      this.Controls.Add(this.cancelButton);
     156      this.Controls.Add(this.okButton);
    129157      this.Controls.Add(this.variableNamesCombo);
    130158      this.Controls.Add(this.variableNameLabel);
     
    133161      this.Controls.Add(this.oldValueTextBox);
    134162      this.Controls.Add(this.originalValueLabel);
     163      this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
    135164      this.MaximizeBox = false;
    136165      this.MinimizeBox = false;
     
    151180    private System.Windows.Forms.Label originalValueLabel;
    152181    private System.Windows.Forms.TextBox oldValueTextBox;
    153     private System.Windows.Forms.TextBox newValueTextBox;
    154182    private System.Windows.Forms.Label newValueLabel;
    155183    private System.Windows.Forms.ErrorProvider errorProvider;
    156     private System.Windows.Forms.ComboBox variableNamesCombo;
    157184    private System.Windows.Forms.Label variableNameLabel;
     185    private System.Windows.Forms.Button cancelButton;
     186    private System.Windows.Forms.Button okButton;
     187    public System.Windows.Forms.TextBox newValueTextBox;
     188    public System.Windows.Forms.ComboBox variableNamesCombo;
    158189  }
    159190}
Note: See TracChangeset for help on using the changeset viewer.