开发者

Make a Windows form automatically take the size of it's child table layout panel

开发者 https://www.devze.com 2023-04-05 07:12 出处:网络
I have a windows form that contains a table layout panel extending the whole form, the size of this table layout panel may change at run time according to it\'s content, how can I make it\'s parent fo

I have a windows form that contains a table layout panel extending the whole form, the size of this table layout panel may change at run time according to it's content, how can I make it's parent form automatically take its size,开发者_Go百科

Thanks


Set property TableLayoutPanel.Dock as Fill and change YourForm.Size property according to TableLayoutPanel content

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号