如何在Windows vb.net中创建MDIParent表单 [英] How to create a MDIParent form in windows vb.net
本文介绍了如何在Windows vb.net中创建MDIParent表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Windows vb.net中创建MDIParent表单,以及如何从MDIParent表单中调用子表单.
任何人都可以给我发送详细的代码..
在此先感谢
Sucharitha
Hi,
How to create a MDIParent form in windows vb.net and how to call the child form from MDIParent form.
Can any one please send me the detailed code..
Thanks in advance
Sucharitha
推荐答案
http://msdn.microsoft. com/en-us/library/xyhh2e7e [^ ]
提供有关在MDI应用程序中为多个文档创建容器的说明.
http://msdn.microsoft.com/en-us/library/aa984329 (v = vs.71).aspx [ http://msdn.microsoft.com/en-us/library/7aw8zc76.aspx [ ^ ]
多文档界面(MDI)应用程序的基本元素是MDI子表单,因为它们是用户交互的中心.
http://msdn.microsoft.com/en-us/library/xyhh2e7e[^]
Gives directions for creating the container for the multiple documents within an MDI application.
http://msdn.microsoft.com/en-us/library/aa984329(v=vs.71).aspx[^]
Gives directions for creating one or more windows that operate within an MDI parent form.
http://msdn.microsoft.com/en-us/library/7aw8zc76.aspx[^]
An essential element of Multiple-Document Interface (MDI) Applications is MDI child forms, as these are the center of user interaction.
Private Sub CreateChildForm
me.mdiparent = true
dim frm as new yourform
frm.mdiparent = me
frm.show
End Sub
子例程中的代码只是如何执行所需操作的基本概念,您的表单应该是您的子表单类型.
the code in the sub routine is only a basic idea of how to do what you want, yourform should be your child form type.
这篇关于如何在Windows vb.net中创建MDIParent表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文