Changeset 3540
- Timestamp:
- 04/27/10 09:39:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.Problems.Knapsack.Views/3.3/KnapsackSolutionView.cs ΒΆ
r3537 r3540 153 153 154 154 //draw knapsack 155 graphics.DrawRectangle(Pens.Black, 156 borderX - 1, pictureBox.Height - borderY - knapsackHeight - 1, width + 2, knapsackHeight + 2); 155 using (Pen pen = new Pen(Color.Black, 2)) { 156 graphics.DrawRectangle(pen, 157 borderX - 2, pictureBox.Height - borderY - knapsackHeight - 2, width + 4, knapsackHeight + 4); 158 } 157 159 158 160 //draw items sorted by value
Note: See TracChangeset
for help on using the changeset viewer.