- Timestamp:
- 07/21/16 21:07:27 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.BinPacking.Views/3.3/PackingPlan3DView.cs
r14162 r14167 47 47 } else { 48 48 int i = 0; 49 foreach (var bp in Content.Bin Packings)49 foreach (var bp in Content.Bins) 50 50 binSelection.Items.Add(i++ + " (" + Math.Round(bp.PackingDensity * 100, 2) + "%)"); 51 51 … … 57 57 private void ShowSelectedPacking() { 58 58 int currentBin = (binSelection != null) ? (int)(binSelection.SelectedIndex) : 0; 59 packingPlan3D.Packing = Content.Bin Packings[currentBin];59 packingPlan3D.Packing = Content.Bins[currentBin]; 60 60 } 61 61 … … 66 66 // add items of this container 67 67 int currentBin = (binSelection != null) ? (int)(binSelection.SelectedIndex) : 0; 68 var packing = Content.Bin Packings[currentBin];68 var packing = Content.Bins[currentBin]; 69 69 foreach (var item in packing.Items) { 70 70 itemSelection.Items.Add(item.Key);
Note: See TracChangeset
for help on using the changeset viewer.