Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/20/16 13:01:24 (8 years ago)
Author:
pfleck
Message:

#2597

  • Added validation in GradientChartConfigurationDialog and DensityTrackbar.
  • Added optional configuration button for GradientChart.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/GradientChartConfigurationDialog.Designer.cs

    r13853 r13855  
    4545    /// </summary>
    4646    private void InitializeComponent() {
     47      this.components = new System.ComponentModel.Container();
    4748      this.xAxisGroupBox = new System.Windows.Forms.GroupBox();
    4849      this.maxXTextBox = new System.Windows.Forms.TextBox();
     50      this.xAutomaticCheckBox = new System.Windows.Forms.CheckBox();
    4951      this.minXTextBox = new System.Windows.Forms.TextBox();
    5052      this.maxXLabel = new System.Windows.Forms.Label();
     
    5759      this.minYLabel = new System.Windows.Forms.Label();
    5860      this.miscGroupBox = new System.Windows.Forms.GroupBox();
     61      this.StepsNumericUpDown = new System.Windows.Forms.NumericUpDown();
    5962      this.stepsLabel = new System.Windows.Forms.Label();
    6063      this.applyButton = new System.Windows.Forms.Button();
    6164      this.cancelButton = new System.Windows.Forms.Button();
    62       this.xAutomaticCheckBox = new System.Windows.Forms.CheckBox();
    63       this.StepsNumericUpDown = new System.Windows.Forms.NumericUpDown();
     65      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
    6466      this.xAxisGroupBox.SuspendLayout();
    6567      this.yAxisGroupBox.SuspendLayout();
    6668      this.miscGroupBox.SuspendLayout();
    6769      ((System.ComponentModel.ISupportInitialize)(this.StepsNumericUpDown)).BeginInit();
     70      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    6871      this.SuspendLayout();
    6972      //
     
    9295      this.maxXTextBox.Size = new System.Drawing.Size(167, 20);
    9396      this.maxXTextBox.TabIndex = 3;
     97      this.maxXTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.numberTextBox_Validating);
     98      this.maxXTextBox.Validated += new System.EventHandler(this.numberTextBox_Validated);
     99      //
     100      // xAutomaticCheckBox
     101      //
     102      this.xAutomaticCheckBox.AutoSize = true;
     103      this.xAutomaticCheckBox.Location = new System.Drawing.Point(48, -1);
     104      this.xAutomaticCheckBox.Name = "xAutomaticCheckBox";
     105      this.xAutomaticCheckBox.Size = new System.Drawing.Size(73, 17);
     106      this.xAutomaticCheckBox.TabIndex = 1;
     107      this.xAutomaticCheckBox.Text = "Automatic";
     108      this.xAutomaticCheckBox.UseVisualStyleBackColor = true;
     109      this.xAutomaticCheckBox.CheckedChanged += new System.EventHandler(this.automaticCheckBox_CheckedChanged);
    94110      //
    95111      // minXTextBox
     
    101117      this.minXTextBox.Size = new System.Drawing.Size(167, 20);
    102118      this.minXTextBox.TabIndex = 2;
     119      this.minXTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.numberTextBox_Validating);
     120      this.minXTextBox.Validated += new System.EventHandler(this.numberTextBox_Validated);
    103121      //
    104122      // maxXLabel
     
    144162      this.maxYTextBox.Size = new System.Drawing.Size(167, 20);
    145163      this.maxYTextBox.TabIndex = 3;
     164      this.maxYTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.numberTextBox_Validating);
     165      this.maxYTextBox.Validated += new System.EventHandler(this.numberTextBox_Validated);
    146166      //
    147167      // yAutomaticCheckBox
     
    164184      this.minYTextBox.Size = new System.Drawing.Size(167, 20);
    165185      this.minYTextBox.TabIndex = 2;
     186      this.minYTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.numberTextBox_Validating);
     187      this.minYTextBox.Validated += new System.EventHandler(this.numberTextBox_Validated);
    166188      //
    167189      // maxYLabel
     
    194216      this.miscGroupBox.TabIndex = 4;
    195217      this.miscGroupBox.TabStop = false;
    196       //
    197       // stepsLabel
    198       //
    199       this.stepsLabel.AutoSize = true;
    200       this.stepsLabel.Location = new System.Drawing.Point(6, 22);
    201       this.stepsLabel.Name = "stepsLabel";
    202       this.stepsLabel.Size = new System.Drawing.Size(34, 13);
    203       this.stepsLabel.TabIndex = 1;
    204       this.stepsLabel.Text = "Steps";
    205       //
    206       // applyButton
    207       //
    208       this.applyButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    209       this.applyButton.Location = new System.Drawing.Point(91, 239);
    210       this.applyButton.Name = "applyButton";
    211       this.applyButton.Size = new System.Drawing.Size(75, 23);
    212       this.applyButton.TabIndex = 5;
    213       this.applyButton.Text = "Apply";
    214       this.applyButton.UseVisualStyleBackColor = true;
    215       this.applyButton.Click += new System.EventHandler(this.okButton_Click);
    216       //
    217       // cancelButton
    218       //
    219       this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    220       this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
    221       this.cancelButton.Location = new System.Drawing.Point(172, 239);
    222       this.cancelButton.Name = "cancelButton";
    223       this.cancelButton.Size = new System.Drawing.Size(75, 23);
    224       this.cancelButton.TabIndex = 6;
    225       this.cancelButton.Text = "Cancel";
    226       this.cancelButton.UseVisualStyleBackColor = true;
    227       //
    228       // xAutomaticCheckBox
    229       //
    230       this.xAutomaticCheckBox.AutoSize = true;
    231       this.xAutomaticCheckBox.Location = new System.Drawing.Point(48, -1);
    232       this.xAutomaticCheckBox.Name = "xAutomaticCheckBox";
    233       this.xAutomaticCheckBox.Size = new System.Drawing.Size(73, 17);
    234       this.xAutomaticCheckBox.TabIndex = 1;
    235       this.xAutomaticCheckBox.Text = "Automatic";
    236       this.xAutomaticCheckBox.UseVisualStyleBackColor = true;
    237       this.xAutomaticCheckBox.CheckedChanged += new System.EventHandler(this.automaticCheckBox_CheckedChanged);
    238218      //
    239219      // StepsNumericUpDown
     
    255235      this.StepsNumericUpDown.Size = new System.Drawing.Size(166, 20);
    256236      this.StepsNumericUpDown.TabIndex = 4;
     237      //
     238      // stepsLabel
     239      //
     240      this.stepsLabel.AutoSize = true;
     241      this.stepsLabel.Location = new System.Drawing.Point(6, 22);
     242      this.stepsLabel.Name = "stepsLabel";
     243      this.stepsLabel.Size = new System.Drawing.Size(34, 13);
     244      this.stepsLabel.TabIndex = 1;
     245      this.stepsLabel.Text = "Steps";
     246      //
     247      // applyButton
     248      //
     249      this.applyButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     250      this.applyButton.Location = new System.Drawing.Point(91, 239);
     251      this.applyButton.Name = "applyButton";
     252      this.applyButton.Size = new System.Drawing.Size(75, 23);
     253      this.applyButton.TabIndex = 5;
     254      this.applyButton.Text = "Apply";
     255      this.applyButton.UseVisualStyleBackColor = true;
     256      this.applyButton.Click += new System.EventHandler(this.okButton_Click);
     257      //
     258      // cancelButton
     259      //
     260      this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     261      this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     262      this.cancelButton.Location = new System.Drawing.Point(172, 239);
     263      this.cancelButton.Name = "cancelButton";
     264      this.cancelButton.Size = new System.Drawing.Size(75, 23);
     265      this.cancelButton.TabIndex = 6;
     266      this.cancelButton.Text = "Cancel";
     267      this.cancelButton.UseVisualStyleBackColor = true;
     268      //
     269      // errorProvider
     270      //
     271      this.errorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;
     272      this.errorProvider.ContainerControl = this;
    257273      //
    258274      // GradientChartConfigurationDialog
     
    279295      this.miscGroupBox.PerformLayout();
    280296      ((System.ComponentModel.ISupportInitialize)(this.StepsNumericUpDown)).EndInit();
     297      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    281298      this.ResumeLayout(false);
    282299
     
    302319    private System.Windows.Forms.CheckBox xAutomaticCheckBox;
    303320    private System.Windows.Forms.NumericUpDown StepsNumericUpDown;
     321    private System.Windows.Forms.ErrorProvider errorProvider;
    304322  }
    305323}
Note: See TracChangeset for help on using the changeset viewer.