最小化表格 [英] Minimizing forms

查看:135
本文介绍了最小化表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

再次问好,


我有三个表格的应用程序。 Frm1有一个按钮,其点击事件

调用frm2 - frm2.ShowDialog()。 Frm2有一个调用frm3的按钮 -

frm3.ShowDialog()。当我最小化frm3时,我希望其他两种形式

最小化。就像我现在一样,frm3最小化了一个小标题栏

出现在我桌面的左下方,frm2和frm1保留在

中心,我无法触摸他们因为ShowDialog。 (我不想用

Show。)如何让所有三种表格最小化?


谢谢,

Nathan

Hello again,

I have an application with three forms. Frm1 has a button whose click event
calls frm2 -- frm2.ShowDialog(). Frm2 has a button that calls frm3 --
frm3.ShowDialog(). When I minimize frm3, I want the other two forms to
minimize as well. As I have it now, frm3 minimizes and a small title bar
appears at the lower left of my desktop, and frm2 and frm1 remain in the
center and I cannot touch them because of ShowDialog. (I don''t want to use
Show.) How do I get all three forms to minimize?

Thanks,
Nathan

推荐答案

嗨Nathan,


我想有很多代码。为什么不从你的

对话框中删除minimbox,没有用户看到它(这是一个对话框,显示你是正常的,你b $ b不能最小化它),问题是我希望这有帮助吗?


Cor

Hi Nathan,

I think with a lot of code. Why not just delete the minimizebox from your
dialogform, no user sees it (it is a dialog, show it is normal that you
cannot minimize it) and the problem is gone.

I hope this helps?

Cor

来电frm2 - frm2.ShowDialog()。 Frm2有一个调用frm3的按钮 -
frm3.ShowDialog()。当我最小化frm3时,我希望其他两种形式也最小化。就像我现在一样,frm3最小化,桌面左下角会出现一个小标题栏,frm2和frm1保留在
中心,因为ShowDialog我无法触摸它们。 (我不想用
使用Show。)如何让所有三种形式最小化?
calls frm2 -- frm2.ShowDialog(). Frm2 has a button that calls frm3 --
frm3.ShowDialog(). When I minimize frm3, I want the other two forms to
minimize as well. As I have it now, frm3 minimizes and a small title bar
appears at the lower left of my desktop, and frm2 and frm1 remain in the
center and I cannot touch them because of ShowDialog. (I don''t want to use Show.) How do I get all three forms to minimize?



*" Cor" < no*@non.com> scripsit:
* "Cor" <no*@non.com> scripsit:
我认为有很多代码。为什么不从你的对话框中删除minimbox,没有用户看到它(它是一个对话框,显示你不能最小化它是正常的),问题就消失了。
I think with a lot of code. Why not just delete the minimizebox from your
dialogform, no user sees it (it is a dialog, show it is normal that you
cannot minimize it) and the problem is gone.




LOL - 但是根本不允许用户最小化应用程序...


-

Herfried K. Wagner [MVP]

< http://www.mvps.org/dotnet>



LOL -- But that won''t allow the user to minimize the app at all...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


仅来自他开始的形式

frmx.showdialog


其他人停留,我认为这是正常的。
Only from the forms that he start with
frmx.showdialog

The others stays, I think this is quit normal.
我认为有很多代码。为什么不从
删除对话框中的minimbox,没有用户看到它(这是一个对话框,显示你不能最小化它是正常的)并且问题已经消失。
I think with a lot of code. Why not just delete the minimizebox from your dialogform, no user sees it (it is a dialog, show it is normal that you
cannot minimize it) and the problem is gone.



LOL -- But that won''t allow the user to minimize the app at all...



这篇关于最小化表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆