Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/27/10 09:39:07 (14 years ago)
Author:
svonolfe
Message:

Updated Knapsack visualization (#917)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Knapsack.Views/3.3/KnapsackSolutionView.cs

    r3537 r3540  
    153153
    154154              //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              }
    157159
    158160              //draw items sorted by value
Note: See TracChangeset for help on using the changeset viewer.