我们如何从MDI父表单导航到子表单 [英] how we can navigate from mdi parent form to child

查看:58
本文介绍了我们如何从MDI父表单导航到子表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在担任点网培训师,并且我不使用Windows应用程序...所以请帮助我

hai i am working as a dot net trainer and i am not work with windows application ...so please help me

推荐答案

这是代码. br/> 将Form2 f作为新的Form2();
f.show();


如果有帮助,请接受答案
Here is the code.
Form2 f as new Form2();
f.show();


Accept the answer if helpful


如果您要打开的表单是其他表单的子表单,则需要执行以下操作:

If you mean that you want to open up a form which is a childform of another form then you need to do this :

Dim Form2 as New Form
Form2.MDIParent = Me
Form2.Show()


这篇关于我们如何从MDI父表单导航到子表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆