MDI子表格和调用 [英] mdi child form and calling
本文介绍了MDI子表格和调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有三个Form
.第一种形式是MdiContainer
,第二种形式是MdiChild
,第三种形式是标准Form
.
第二种形式将由父形式调用,第三种形式也将第二种形式称为子形式. :omg:
I have three Form
s. The first form is an MdiContainer
, the second is a MdiChild
and third is a standard Form
.
The second form will call by parent form and the third form will also call second form as a child form. :omg:
推荐答案
您不清楚
但请尝试以下代码:
form2 frm2 = new form2();
frm2.mdiparent = form2;
(或frm2.mdiparent = frm3.mdiparent;//取决于您的表单)
your are not clear
but try this code:
form2 frm2 = new form2();
frm2.mdiparent = form2;
(or frm2.mdiparent = frm3.mdiparent; //depends on your forms )
您知道,这就像是重新发布...
Ya know, this looks like a repost...
这篇关于MDI子表格和调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文