试过dock anchor 都不行窗口放大后,右边或者左边不能拉过去. 最后用了dev 的sidepanel然后dock设置成fill再把winform的flowlayoutpanel放进sidepanel里面设置dock为fill