如何使用自定义Windows控件登录表单进入下一个表单 [英] how to go into next form using custom windows control login form

查看:72
本文介绍了如何使用自定义Windows控件登录表单进入下一个表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用自定义Windows控件登录表单进入下一个表单

解决方案

  Dim  frm2 作为  Form2 
frm2.Show()



您可以在显示登录表单后退出或登录(例如)登录表单的确定按钮。



如果您将代码放在登录表单中,那么您还需要隐藏原始内容...

 。隐藏()


how to go into next form using custom windows control login form

解决方案

Dim frm2 As New Form2        
frm2.Show()


That can go after you''ve displayed the login form and exited or on (e.g.) the Ok button of the login form.

If you put the code in the login form then you will also need to hide the original ...

Me.Hide()


这篇关于如何使用自定义Windows控件登录表单进入下一个表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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