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