title: Adding a vertical scrollbar to a panel if drawn area is too large
body: <p>I'm using WinForms and C#.</p>
  
  <p>The application I am developing draws rows of rectangles (using g.DrawRectangle()) inside of a panel. The panel can hold 6 rectangles in width (I don't want to have horizontal scrolling). I control this within the application by counting the rectangles in the row, and then adding to the <code>y</code> value after the sixth rectangle.</p>
  
  <p>Vertically, I want to be able to add infinite rectangles and scroll down to see them. Right now, the rectangles are being added, but the Panel doesn't scroll (they are just added off screen).</p>
  
  <p>Is there a way to add a vertical scrollbar? I have tried setting the <code>AutoScroll</code> property to true, but that doesn't do anything. </p>