【发布时间】:2010-06-15 18:54:49
【问题描述】:
我在主窗体中显示我的 MDI 窗口,但在拆分器面板的一部分中,如下所示:
Form2 f2= new Form2();
f2.MdiParent = this;
f2.Parent = this.splitContainer2.Panel2;
f2.Show();
但问题是,如果我编写这样的代码,我将无法级联它们:
this.LayoutMdi(System.Windows.Forms.MdiLayout.Cascade);
“this”是父表单。主窗体。
我可以级联它们吗?
谢谢大家。
【问题讨论】: