MDIParent中的多个孩子 [英] multiple childs in MDIParent
本文介绍了MDIParent中的多个孩子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
FormParent加载打开FormChildA。
FormChildA btn单击打开FormChildB。
(FormChildA和FormChildB都是FormParent的子项)
(FormChildA和FormChildB是不同的形式)
问题:FormChildA btn click只能为FormChildB打开一个实例。我需要多个FormChildB实例。
请提出任何建议或意见。
tx,>
Paul
FormParent load opens FormChildA.
FormChildA btn click opens FormChildB.
(FormChildA and FormChildB are both children of FormParent)
(FormChildA and FormChildB are different forms)
Problem: FormChildA btn click can only open one instance for FormChildB. I
need multiple instances of FormChildB.
Any suggestions or ideas please.
tx,
Paul
推荐答案
你的newFormB将不再是孩子。它必须是FormParent的子项。
原始FormChildB和FormChildA都在FormParent中声明。
FormChildB是模块级公共共享
Rob Teixeira [MVP]" < RobTeixeira @@ msn.com>写在消息中
新闻:Ot *************** @ tk2msftngp13.phx.gbl ...
your newFormB would then not be a child. It needs to be child of FormParent.
The original FormChildB and FormChildA are both declared in FormParent.
FormChildB is module level Public Shared
"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:Ot***************@tk2msftngp13.phx.gbl...
在FormChildA按钮点击:
将newFormB视为New FormChildB
newFormB.Show
-Rob Teixeira [MVP]
Paul Mars < PA ************ @ netzero.com>在消息中写道
新闻:OF ************** @ tk2msftngp13.phx.gbl ...
in FormChildA button click:
Dim newFormB as New FormChildB
newFormB.Show
-Rob Teixeira [MVP]
"Paul Mars" <pa************@netzero.com> wrote in message
news:OF**************@tk2msftngp13.phx.gbl...
FormParent加载打开FormChildA。
FormChildA btn点击打开FormChildB。
(FormChildA和FormChildB都是FormParent的孩子)
(FormChildA和FormChildB是不同的形式)
问题:FormChildA btn点击只能打开一个实例对于FormChildB。
我需要多个FormChildB实例。
请提出任何建议或意见。
tx,
Paul
FormParent load opens FormChildA.
FormChildA btn click opens FormChildB.
(FormChildA and FormChildB are both children of FormParent)
(FormChildA and FormChildB are different forms)
Problem: FormChildA btn click can only open one instance for FormChildB. I need multiple instances of FormChildB.
Any suggestions or ideas please.
tx,
Paul
按钮点击:
将newFormB调暗为新的FormChildB
newFormB.Show
-Rob Teixeira [MVP]
" Paul Mars" < PA ************ @ netzero.com>在消息中写道
新闻:OF ************** @ tk2msftngp13.phx.gbl ...
in FormChildA button click:
Dim newFormB as New FormChildB
newFormB.Show
-Rob Teixeira [MVP]
"Paul Mars" <pa************@netzero.com> wrote in message
news:OF**************@tk2msftngp13.phx.gbl...
FormParent加载打开FormChildA。
FormChildA btn点击打开FormChildB。
(FormChildA和FormChildB都是FormParent的孩子)
(FormChildA和FormChildB是不同的形式)
问题:FormChildA btn点击即可只为FormChildB打开一个实例。我需要多个FormChildB实例。
请提出任何建议或意见。
tx,
Paul
FormParent load opens FormChildA.
FormChildA btn click opens FormChildB.
(FormChildA and FormChildB are both children of FormParent)
(FormChildA and FormChildB are different forms)
Problem: FormChildA btn click can only open one instance for FormChildB. I
need multiple instances of FormChildB.
Any suggestions or ideas please.
tx,
Paul
你的newFormB将不再是孩子。它必须是FormParent的子项。
原始FormChildB和FormChildA都在FormParent中声明。
FormChildB是模块级公共共享
Rob Teixeira [MVP]" < RobTeixeira @@ msn.com>写在消息中
新闻:Ot *************** @ tk2msftngp13.phx.gbl ...
your newFormB would then not be a child. It needs to be child of FormParent.
The original FormChildB and FormChildA are both declared in FormParent.
FormChildB is module level Public Shared
"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:Ot***************@tk2msftngp13.phx.gbl...
在FormChildA按钮点击:
将newFormB视为New FormChildB
newFormB.Show
-Rob Teixeira [MVP]
Paul Mars < PA ************ @ netzero.com>在消息中写道
新闻:OF ************** @ tk2msftngp13.phx.gbl ...
in FormChildA button click:
Dim newFormB as New FormChildB
newFormB.Show
-Rob Teixeira [MVP]
"Paul Mars" <pa************@netzero.com> wrote in message
news:OF**************@tk2msftngp13.phx.gbl...
FormParent加载打开FormChildA。
FormChildA btn点击打开FormChildB。
(FormChildA和FormChildB都是FormParent的孩子)
(FormChildA和FormChildB是不同的形式)
问题:FormChildA btn点击只能打开一个实例对于FormChildB。
我需要多个FormChildB实例。
请提出任何建议或意见。
tx,
Paul
FormParent load opens FormChildA.
FormChildA btn click opens FormChildB.
(FormChildA and FormChildB are both children of FormParent)
(FormChildA and FormChildB are different forms)
Problem: FormChildA btn click can only open one instance for FormChildB. I need multiple instances of FormChildB.
Any suggestions or ideas please.
tx,
Paul
这篇关于MDIParent中的多个孩子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文