本文介绍了调整MDI子窗体的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了一个Windows .net应用程序,其中有一个MDI表单.
一些MDI子窗体以MAXIMIZED状态显示,而另一些则以NORMAL状态显示.
我面临的一个问题是,当我们打开一个MAXIMIZED MDI子窗体时,然后再打开NOMRAL窗体(仍然打开了MAXIMIZED Child窗体),则MAXIMIZED窗体的大小将被调整.表示其恢复为正常状态.我希望此形式应最大化.
我已经设置了MAXIMIZED个表单属性,如下所示:

FormBorderStyle =无
MaimizeBox = false
MinimizeBox = false
ControlBox = false
WindowsState =已最大化

thanx n考虑

Hi,
i have created one windows .net application in which i have one MDI form.
Some MDI Child forms are displayed in MAXIMIZED State and some are displayed in NORMAL state.
i m facing one problem that when we open one MAXIMIZED MDI child form and after that if we open NOMRAL form (Still MAXIMIZED Child form is opened) so MAXIMIZED form is getting resized. means its comes back in its NORMAL state.i want that this form should be maximized.
i have set MAXIMIZED form properies like this:

FormBorderStyle=None
MaimizeBox=false
MinimizeBox=false
ControlBox=false
WindowsState=Maximized

thanx n regards

推荐答案


这篇关于调整MDI子窗体的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-17 14:55