时间:2010-07-26 10:37:25

标签: c# .net

1 个答案:

答案 0 :(得分:1)

您可以使用面板的VerticalScroll.Maximum - 属性:

panel.AutoScrollPosition = new Point(
    Math.Abs(panel.AutoScrollPosition.X), 
    panel.VerticalScroll.Maximum);