5
我有一個Panel
我在其中動態地添加控件。我想將Panel
滾動的Panel
中央控制面板中的滾動C#
我使用的ScrollableControl
對象的ScrollControlIntoView
方法如下一個給定控件的位置:
public void centerPanel(Control p){
panel.ScrollControlIntoView(p);
}
但小組似乎移動到隨機位置。
AutoScroll
屬性在Panel
中設置爲True
。
有什麼想法?