Changeset 9972
- Timestamp:
- 09/16/13 16:14:28 (11 years ago)
- Location:
- branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/EnemyCollectionView.Designer.cs
r9971 r9972 46 46 /// </summary> 47 47 private void InitializeComponent() { 48 this.checkedItemListView = new Core.Views.CheckedItemListView<HeuristicLab.Data.StringValue>();49 48 this.reloadButton = new System.Windows.Forms.Button(); 50 49 this.SuspendLayout(); 51 50 // 52 // checkedItemListView53 //54 this.checkedItemListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)55 | System.Windows.Forms.AnchorStyles.Left)56 | System.Windows.Forms.AnchorStyles.Right)));57 this.checkedItemListView.Caption = "View";58 this.checkedItemListView.Content = null;59 this.checkedItemListView.Location = new System.Drawing.Point(3, 34);60 this.checkedItemListView.Name = "checkedItemListView";61 this.checkedItemListView.ReadOnly = false;62 this.checkedItemListView.Size = new System.Drawing.Size(434, 238);63 this.checkedItemListView.TabIndex = 0;64 //65 51 // reloadButton 66 52 // 67 this.reloadButton.Location = new System.Drawing.Point( 0, 3);53 this.reloadButton.Location = new System.Drawing.Point(151, 3); 68 54 this.reloadButton.Name = "reloadButton"; 69 55 this.reloadButton.Size = new System.Drawing.Size(24, 24); … … 77 63 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 78 64 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 79 this.Controls.Add(this.reloadButton); 80 this.Controls.Add(this.checkedItemListView); 65 splitContainer.Panel1.Controls.Add(this.reloadButton); 81 66 this.Name = "EnemyCollectionView"; 82 67 this.Size = new System.Drawing.Size(440, 275); … … 87 72 #endregion 88 73 89 private Core.Views.CheckedItemListView<HeuristicLab.Data.StringValue> checkedItemListView;90 74 private System.Windows.Forms.Button reloadButton; 91 92 75 } 93 76 } -
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode.Views/3.3/EnemyCollectionView.cs
r9971 r9972 21 21 22 22 using System.Windows.Forms; 23 using HeuristicLab.Core.Views;24 23 using HeuristicLab.MainForm; 25 24 … … 27 26 [View("EnemyCollection View")] 28 27 [Content(typeof(EnemyCollection), true)] 29 public partial class EnemyCollectionView : ItemView{28 public partial class EnemyCollectionView : Core.Views.CheckedItemListView<HeuristicLab.Data.StringValue> { 30 29 public new EnemyCollection Content { 31 30 get { return (EnemyCollection)base.Content; } … … 35 34 public EnemyCollectionView() { 36 35 InitializeComponent(); 37 }38 39 protected override void OnContentChanged() {40 base.OnContentChanged();41 42 checkedItemListView.Content = Content;43 36 } 44 37
Note: See TracChangeset
for help on using the changeset viewer.