使用多个表单时关闭的最佳方法 [英] best way to closed a from when using multiple forms

查看:80
本文介绍了使用多个表单时关闭的最佳方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多表格,我想知道我该怎么办..

我想使用在表单上可用的按钮单击来打开表单2,并且我想关闭form1..
那就是我想一次只打开一张表格...
谁能建议这样做的方法...(方法必须安全)

提前谢谢...

i have many forms and i want to know that what can i do for this problem..

i want to open a form 2 using button click available on form to and i want closed form1..
that is i want to open only 1 form at a time...
can any one suggest the way to do so...(way must be secure)

thankx in advance...

推荐答案

Me.Hide()

ExampleForm.Hide()

,您可以通过其他方式调用它!

You can call it form other forms that way!


这篇关于使用多个表单时关闭的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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