Changeset 13573 for trunk/sources
- Timestamp:
- 01/28/16 18:31:54 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.Core.Views/3.3
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj
r13014 r13573 164 164 <Compile Include="NestingLevelErrorControl.Designer.cs"> 165 165 <DependentUpon>NestingLevelErrorControl.cs</DependentUpon> 166 </Compile> 167 <Compile Include="ParameterizedItemView.cs"> 168 <SubType>UserControl</SubType> 169 </Compile> 170 <Compile Include="ParameterizedItemView.Designer.cs"> 171 <DependentUpon>ParameterizedItemView.cs</DependentUpon> 166 172 </Compile> 167 173 <Compile Include="Plugin.cs" /> -
trunk/sources/HeuristicLab.Core.Views/3.3/ParameterizedItemView.Designer.cs
r13494 r13573 21 21 22 22 namespace HeuristicLab.Core.Views { 23 partial class Parameterized NamedItemView {23 partial class ParameterizedItemView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 46 46 private void InitializeComponent() { 47 47 this.parameterCollectionView = new HeuristicLab.Core.Views.ParameterCollectionView(); 48 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();49 48 this.SuspendLayout(); 50 //51 // nameTextBox52 //53 this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);54 this.errorProvider.SetIconPadding(this.nameTextBox, 2);55 this.nameTextBox.Location = new System.Drawing.Point(59, 0);56 this.nameTextBox.Size = new System.Drawing.Size(406, 20);57 //58 // infoLabel59 //60 this.infoLabel.Location = new System.Drawing.Point(471, 3);61 49 // 62 50 // parameterCollectionView 63 51 // 64 this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 65 | System.Windows.Forms.AnchorStyles.Left) 66 | System.Windows.Forms.AnchorStyles.Right))); 52 this.parameterCollectionView.AllowEditingOfHiddenParameters = true; 53 this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 54 | System.Windows.Forms.AnchorStyles.Left) 55 | System.Windows.Forms.AnchorStyles.Right))); 67 56 this.parameterCollectionView.Caption = "ParameterCollection View"; 68 57 this.parameterCollectionView.Content = null; 69 this.parameterCollectionView.Location = new System.Drawing.Point(0, 26);58 this.parameterCollectionView.Location = new System.Drawing.Point(0, 0); 70 59 this.parameterCollectionView.Name = "parameterCollectionView"; 71 60 this.parameterCollectionView.ReadOnly = false; 72 this.parameterCollectionView.Size = new System.Drawing.Size(490, 327); 73 this.parameterCollectionView.TabIndex = 3; 61 this.parameterCollectionView.ShowDetails = true; 62 this.parameterCollectionView.Size = new System.Drawing.Size(490, 353); 63 this.parameterCollectionView.TabIndex = 0; 74 64 // 75 // Parameterized NamedItemView65 // ParameterizedItemView 76 66 // 77 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);78 67 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 79 68 this.Controls.Add(this.parameterCollectionView); 80 this.Name = "Parameterized NamedItemView";69 this.Name = "ParameterizedItemView"; 81 70 this.Size = new System.Drawing.Size(490, 353); 82 this.Controls.SetChildIndex(this.infoLabel, 0);83 this.Controls.SetChildIndex(this.nameTextBox, 0);84 this.Controls.SetChildIndex(this.nameLabel, 0);85 this.Controls.SetChildIndex(this.parameterCollectionView, 0);86 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();87 71 this.ResumeLayout(false); 88 this.PerformLayout();89 72 90 73 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ParameterizedItemView.cs
r13494 r13573 23 23 24 24 namespace HeuristicLab.Core.Views { 25 /// <summary> 26 /// The base class for visual representations of items. 27 /// </summary> 28 [View("ParameterizedNamedItem View")] 29 [Content(typeof(ParameterizedNamedItem), true)] 30 [Content(typeof(IParameterizedNamedItem), false)] 31 public partial class ParameterizedNamedItemView : NamedItemView { 32 public new IParameterizedNamedItem Content { 33 get { return (IParameterizedNamedItem)base.Content; } 25 [View("ParameterizedItem View")] 26 [Content(typeof(IParameterizedItem), false)] 27 public partial class ParameterizedItemView : ItemView { 28 public new IParameterizedItem Content { 29 get { return (IParameterizedItem)base.Content; } 34 30 set { base.Content = value; } 35 31 } 36 32 37 /// <summary> 38 /// Initializes a new instance of <see cref="ItemBaseView"/>. 39 /// </summary> 40 public ParameterizedNamedItemView() { 33 public ParameterizedItemView() { 41 34 InitializeComponent(); 42 35 }
Note: See TracChangeset
for help on using the changeset viewer.