title: How would I stop panels from erasing rectangles I've drawn when I scroll down?
body: <p>I'm coding a charting control in C# for the .net framework. I basically have a split panel where I write the names on one side and draw rectangles on the other for the actual graph portion of the control. However, I've realized that every time I scroll down, it erases the part of the rectangles that go out of the panel's view. How do I prevent this? </p>
  
  <p>Side question, how do I make the scroll bar for the second panel work for both. I'm fairly new to some of this stuff so I apologize if anything here is fairly elementary or already answered. Thanks for your time!</p>