📄 program.cs
字号:
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace WindowsApplication1
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Menu m;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
loop1: Login f1 = new Login();
Application.Run(f1);
if (f1.getRg == true)
{
Register rg = new Register();
rg.setFlag = f1.getFlag;
Application.Run(rg);
if (rg.flag1 == false) goto loop1;
m = new Menu();
m.setlimit = rg.getlimit;
m.setname = rg.getname;
Application.Run(m);
if (m.flag) goto loop1;
}
else if(f1.closeWin)
{
m = new Menu();
m.setlimit = f1.getlimit;
m.setname = f1.getname;
Application.Run(m);
if (m.flag) goto loop1;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -