22智能在线
新记
如何在winform中关闭登录窗体后打开主窗体
如题所述
举报该文章
相关建议 2017-12-20
[STAThread]
static void Main()
{
//ç»å½
frmlogin frm1=new frmlogin();
if(frm1.ShowDialog() != DialogResult.OK)
{
return;
}
Application.Run(new frmMain());
}
温馨提示:内容为网友见解,仅供参考
当前网址:
https://22.t2y.org/zz/fcff002thixfts2ixf6.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
在C#中从登陆界面进入主界面,进入主界面以后怎么关闭主界面
C#的 winform程序,登录完了怎么关掉登录窗体?
C# 登录窗体跳转至主窗体后,登录窗体关闭;如何把登录窗体的...
C# winform主窗体点击注销显示登录窗体,然后主窗体关...
c#如何实现关闭当前窗体并打开另一个已经创建的窗体。
winform项目中如何实现关闭主界面跳到登录界面
C#的 winform程序,登录完了怎么关掉登录窗体?
c#中关闭任意窗体后返回主窗体