Changeset 15219 for stable/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPPDTW
- Timestamp:
- 07/12/17 21:07:36 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 15072,15083,15168
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.VehicleRouting
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.VehicleRouting merged: 15168
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPPDTW/CVRPPDTWProblemInstance.cs
r14186 r15219 117 117 118 118 private void AttachEventHandlers() { 119 PickupDeliveryLocationParameter.ValueChanged += new EventHandler(PickupDeliveryLocationParameter_ValueChanged); 119 PickupDeliveryLocationParameter.ValueChanged += PickupDeliveryLocationParameter_ValueChanged; 120 PickupDeliveryLocation.Reset += PickupDeliveryLocation_Changed; 121 PickupDeliveryLocation.ItemChanged += PickupDeliveryLocation_Changed; 120 122 } 121 123 … … 128 130 #region Event handlers 129 131 void PickupDeliveryLocationParameter_ValueChanged(object sender, EventArgs e) { 130 PickupDeliveryLocationParameter.Value.ItemChanged += new EventHandler<EventArgs<int>>(Value_ItemChanged); 132 PickupDeliveryLocation.Reset += PickupDeliveryLocation_Changed; 133 PickupDeliveryLocation.ItemChanged += PickupDeliveryLocation_Changed; 131 134 EvalBestKnownSolution(); 132 135 } 133 134 void Value_ItemChanged(object sender, EventArgs<int> e) { 136 private void PickupDeliveryLocation_Changed(object sender, EventArgs e) { 135 137 EvalBestKnownSolution(); 136 138 }
Note: See TracChangeset
for help on using the changeset viewer.