表单最大化时组件如何最大化 [英] How can components maximize when form is maximized
本文介绍了表单最大化时组件如何最大化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经创建了Windows窗体应用程序.我已经放在一个GroupBox上,并且在GroupBox内是Datagridview.
I have created a Windows Form Application. I have puttued on a GroupBox and inside the GroupBox is Datagridview. How can I make that the GroupBox and the Datagridview gets maximised when the form is maximised?
推荐答案
我已经建立了Sulotion.
将组件的锚点"属性设置为上",下",左",右".
I have founded the sulotion.
Set the Anchor properties of the components to Top, Bottom, Left, Right.
这篇关于表单最大化时组件如何最大化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文