Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5421


Ignore:
Timestamp:
02/04/11 02:52:53 (14 years ago)
Author:
swagner
Message:

Added base call in SetEnabledStateOfControls, removed outdated XML comments, corrected tab indexes and adapted tool tip text and view name (#1390)

Location:
trunk/sources/HeuristicLab.Parameters.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ConstrainedValueParameterConfigurationView.Designer.cs

    r5345 r5421  
    7373      // valueGroupBox
    7474      //
    75       this.valueGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    76             | System.Windows.Forms.AnchorStyles.Left) 
     75      this.valueGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     76            | System.Windows.Forms.AnchorStyles.Left)
    7777            | System.Windows.Forms.AnchorStyles.Right)));
    7878      this.valueGroupBox.Controls.Add(this.configureButton);
     
    9696      this.configureButton.Name = "configureButton";
    9797      this.configureButton.Size = new System.Drawing.Size(24, 24);
    98       this.configureButton.TabIndex = 3;
     98      this.configureButton.TabIndex = 1;
    9999      this.configureButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Edit;
    100100      this.configureButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
    101       this.toolTip.SetToolTip(this.configureButton, "Edit ValidValues");
     101      this.toolTip.SetToolTip(this.configureButton, "Edit Values");
    102102      this.configureButton.UseVisualStyleBackColor = true;
    103103      this.configureButton.CheckedChanged += new System.EventHandler(this.configureButton_CheckedChanged);
     
    113113      this.showInRunCheckBox.Name = "showInRunCheckBox";
    114114      this.showInRunCheckBox.Size = new System.Drawing.Size(90, 17);
    115       this.showInRunCheckBox.TabIndex = 1;
     115      this.showInRunCheckBox.TabIndex = 2;
    116116      this.showInRunCheckBox.Text = "&Show in Run:";
    117117      this.toolTip.SetToolTip(this.showInRunCheckBox, "Check to show the value of this parameter in each run.");
     
    121121      // viewHost
    122122      //
    123       this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    124             | System.Windows.Forms.AnchorStyles.Left) 
     123      this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     124            | System.Windows.Forms.AnchorStyles.Left)
    125125            | System.Windows.Forms.AnchorStyles.Right)));
    126126      this.viewHost.Caption = "View";
     
    131131      this.viewHost.ReadOnly = false;
    132132      this.viewHost.Size = new System.Drawing.Size(374, 185);
    133       this.viewHost.TabIndex = 2;
     133      this.viewHost.TabIndex = 3;
    134134      this.viewHost.ViewsLabelVisible = true;
    135135      this.viewHost.ViewType = null;
     
    137137      // valueComboBox
    138138      //
    139       this.valueComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
     139      this.valueComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    140140            | System.Windows.Forms.AnchorStyles.Right)));
    141141      this.valueComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ConstrainedValueParameterConfigurationView.cs

    r5345 r5421  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Core.Views;
    2625using HeuristicLab.MainForm;
    2726
    2827namespace HeuristicLab.Parameters.Views {
    29   /// <summary>
    30   /// The visual representation of a <see cref="Parameter"/>.
    31   /// </summary>
    32   [View("ConstrainedValueParameter ConfigurationView")]
     28  [View("ConstrainedValueParameter Configuration View")]
    3329  [Content(typeof(OptionalConstrainedValueParameter<>), false)]
    3430  [Content(typeof(ConstrainedValueParameter<>), false)]
    3531  public partial class ConstrainedValueParameterConfigurationView<T> : ConstrainedValueParameterView<T> where T : class, IItem {
    36 
    37     /// <summary>
    38     /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable".
    39     /// </summary>
    4032    public ConstrainedValueParameterConfigurationView() {
    4133      InitializeComponent();
     
    4840
    4941    protected override void SetEnabledStateOfControls() {
     42      base.SetEnabledStateOfControls();
    5043      configureButton.Enabled = Content != null && !ReadOnly;
    5144    }
Note: See TracChangeset for help on using the changeset viewer.