title: Panel and ScrollBar in Windows forms
body: <p>I am using a panel to display a image in windows forms
  I am drawing image in the panel in Panel_Paint event as follows:</p>
  
  <pre><code>Graphics g = panel1.CreateGraphics();
  Image im = new Bitmap(@"../../Data/#3_Page2.PNG");
  g.DrawImage(im,new Point(10,10));
  </code></pre>
  
  <p>Now, the image is drawn as i expected, with some part of the bottom of the image not displaying as its height is greater than forms height.
  I have added the VScrollBar now. How do i make that panel to view the rest of the image with the help of VScrollBar.</p>