通过两个打开的表单最大化应用程序 [英] Maximize application with two opened form
问题描述
我的应用程序中有两种形式,第一种形式是背景和sec形式,该形式在第一种形式中显示,并带有以下代码:
frsform _frsform = 新 frsform();
_frsform.TopLevel = true ;
_frsform.ShowInTaskbar = false ;
_frsform.ShowDialog();
我使用此代码来最小化两个打开的表单
foreach (在 Application.OpenForms中为表格frm
{
frm.WindowState = FormWindowState.Minimized;
}
但是,当我单击任务栏以最大化我的应用程序时,第二种形式被隐藏,而我只看到第一种形式.
当我最大化应用程序时,我必须做什么才能看到两种形式?(请参见sec形式后面的第一种形式). /stackoverflow.com/questions/12949664/maximize-application-with-two-opened-form">http://stackoverflow.com/questions/12949664/maximize-application-with-two-opened-form [ ^ ]
I have two form in my application first form is used the background and sec form showed on the first form with this code:
frsform _frsform=new frsform();
_frsform.TopLevel = true;
_frsform.ShowInTaskbar = false;
_frsform.ShowDialog();
I use this code to minimized both opened form
foreach (Form frm in Application.OpenForms)
{
frm.WindowState = FormWindowState.Minimized;
}
but when i click on task bar for maximize my application the second form is hidden and i just see first form.
what do i must do for see both forms when i maximize application?(see first form behind sec form)
Please refer this http://stackoverflow.com/questions/12949664/maximize-application-with-two-opened-form[^]
这篇关于通过两个打开的表单最大化应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!