How to change AutoScrollPosition programatically?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a C# windows form app. I use a panel to display data. I need to set AutoScrollPosition programatically when zooming. But following code does not seem to be working for me:

this.AutoScroll = true;
this.AutoScrollPosition = new Point(100,100);

Any idea why, and how to do this properly?
Thanks.
 
Back
Top