- Timestamp:
- 01/27/09 09:31:06 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Constraints/AndConstraintView.cs
r2 r1176 31 31 32 32 namespace HeuristicLab.Constraints { 33 /// <summary> 34 /// The visual representation of an <see cref="AndConstraint"/>. 35 /// </summary> 33 36 public partial class AndConstraintView : ViewBase { 37 /// <summary> 38 /// Gets or sets the AndConstraint to represent visually. 39 /// </summary> 40 /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>.</remarks> 41 /// No own data storage present. 34 42 public AndConstraint AndConstraint { 35 43 get { return (AndConstraint)Item; } … … 37 45 } 38 46 47 /// <summary> 48 /// Initializes a new instance of <see cref="AndConstraintView"/>. 49 /// </summary> 39 50 public AndConstraintView() { 40 51 InitializeComponent(); 41 52 } 53 /// <summary> 54 /// Initializes a new instance of <see cref="AndConstraintView"/> with the given 55 /// <paramref name="andConstraint"/> to display. 56 /// </summary> 57 /// <param name="andConstraint">The constraint to represent visually.</param> 42 58 public AndConstraintView(AndConstraint andConstraint) 43 59 : this() { … … 45 61 } 46 62 63 /// <summary> 64 /// Removes the eventhandler from the underlying <see cref="AndConstraint"/>. 65 /// </summary> 66 /// <remarks>Calls <see cref="ViewBase.RemoveItemEvents"/> of base class <see cref="ViewBase"/>. 67 /// </remarks> 47 68 protected override void RemoveItemEvents() { 48 69 AndConstraint.Changed -= new EventHandler(AndConstraint_Changed); 49 70 base.RemoveItemEvents(); 50 71 } 72 /// <summary> 73 /// Adds an eventhandler to the underlying <see cref="AndConstraint"/>. 74 /// </summary> 75 /// <remarks>Calls <see cref="ViewBase.AddItemEvents"/> of base class <see cref="ViewBase"/>. 76 /// </remarks> 51 77 protected override void AddItemEvents() { 52 78 base.AddItemEvents(); … … 54 80 } 55 81 82 /// <summary> 83 /// Updates all controls with the latest values. 84 /// </summary> 56 85 protected override void UpdateControls() { 57 86 if (AndConstraint == null) {
Note: See TracChangeset
for help on using the changeset viewer.