Changeset 5421
- Timestamp:
- 02/04/11 02:52:53 (14 years ago)
- 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 73 73 // valueGroupBox 74 74 // 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) 77 77 | System.Windows.Forms.AnchorStyles.Right))); 78 78 this.valueGroupBox.Controls.Add(this.configureButton); … … 96 96 this.configureButton.Name = "configureButton"; 97 97 this.configureButton.Size = new System.Drawing.Size(24, 24); 98 this.configureButton.TabIndex = 3;98 this.configureButton.TabIndex = 1; 99 99 this.configureButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Edit; 100 100 this.configureButton.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; 101 this.toolTip.SetToolTip(this.configureButton, "Edit Val idValues");101 this.toolTip.SetToolTip(this.configureButton, "Edit Values"); 102 102 this.configureButton.UseVisualStyleBackColor = true; 103 103 this.configureButton.CheckedChanged += new System.EventHandler(this.configureButton_CheckedChanged); … … 113 113 this.showInRunCheckBox.Name = "showInRunCheckBox"; 114 114 this.showInRunCheckBox.Size = new System.Drawing.Size(90, 17); 115 this.showInRunCheckBox.TabIndex = 1;115 this.showInRunCheckBox.TabIndex = 2; 116 116 this.showInRunCheckBox.Text = "&Show in Run:"; 117 117 this.toolTip.SetToolTip(this.showInRunCheckBox, "Check to show the value of this parameter in each run."); … … 121 121 // viewHost 122 122 // 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) 125 125 | System.Windows.Forms.AnchorStyles.Right))); 126 126 this.viewHost.Caption = "View"; … … 131 131 this.viewHost.ReadOnly = false; 132 132 this.viewHost.Size = new System.Drawing.Size(374, 185); 133 this.viewHost.TabIndex = 2;133 this.viewHost.TabIndex = 3; 134 134 this.viewHost.ViewsLabelVisible = true; 135 135 this.viewHost.ViewType = null; … … 137 137 // valueComboBox 138 138 // 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) 140 140 | System.Windows.Forms.AnchorStyles.Right))); 141 141 this.valueComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; -
trunk/sources/HeuristicLab.Parameters.Views/3.3/ConstrainedValueParameterConfigurationView.cs
r5345 r5421 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Core.Views;26 25 using HeuristicLab.MainForm; 27 26 28 27 namespace 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")] 33 29 [Content(typeof(OptionalConstrainedValueParameter<>), false)] 34 30 [Content(typeof(ConstrainedValueParameter<>), false)] 35 31 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>40 32 public ConstrainedValueParameterConfigurationView() { 41 33 InitializeComponent(); … … 48 40 49 41 protected override void SetEnabledStateOfControls() { 42 base.SetEnabledStateOfControls(); 50 43 configureButton.Enabled = Content != null && !ReadOnly; 51 44 }
Note: See TracChangeset
for help on using the changeset viewer.