开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜