本文介绍了Windows应用程序中的设计表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



谁能帮我解决这个问题.

我有一个MDI容器,正在打开3个表格.我想要的是三种形式中的一种,其中一种形式在任何情况下都不应最大化.

所有表单都已设置了mdiparent属性.

Hi,

Can anyone help me fix this problem.

I have a mdi container in that I am opening 3 forms. What I want is out of the three forms, one of the form should not get maximized in any condition.

All the forms have the mdiparent property already set.

推荐答案

this.FormBorderStyle=FormBorderStyle.FixedToolWindow


Me.WindowState=FormWindowState.Normal
Me.MaximizeBox = False


其次,当您调用表单时,需要在mdi父级中将表单称为


Second you need to call form as

form.showdialog()

.



这篇关于Windows应用程序中的设计表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 19:56