📄 program.cs
字号:
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace PlayCardClient
{
static class Program
{
const int nRetryLimit = 3;
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
int i = 0;
DialogResult dr = DialogResult.Retry;
do
{
dr = LoginForm.ShowLogin();
if (dr == DialogResult.Cancel)
break;
} while (dr != DialogResult.OK && (++i) < nRetryLimit);
if (dr == DialogResult.OK)
{
Application.Run(new MainForm());
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -