[英]WinForms MDI : How to show MdiChild in Parent TableLayoutPanel's line?
I'm following this tuto for create a multipage app in Winform. 我正在按照此教程在Winform中创建多页应用程序。 My MdiParent have
我的MdiParent有
MainForm IsMdiParent = true MainForm IsMdiParent = true
HomeForm frmHomeForm;
private void HomeIcon_Click(object sender, EventArgs e)
{
if(frmHomeForm == null)
{
frmHomeForm = new HomeForm();
frmHomeForm.MdiParent = this;
frmHomeForm.Show();
}
else
{
frmHomeForm.Activate();
}
}
If someone can help, it's first time I used MDI. 如果有人可以帮助,这是我第一次使用MDI。
I was trying to show MdiChild on my MdiParent who was covered by another control. 我试图在MdiParent上显示被另一个控件覆盖的MdiChild。 I remove the control on my MdiParent and my MdiChild now appear correctly in empty area.
我删除了MdiParent上的控件,并且MdiChild现在正确显示在空白区域中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.