using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Go_Frp { internal static class Program { /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { // 检查是否启动 bool createNew; System.Threading.Mutex mutex = new System.Threading.Mutex(true, "Go_Frp", out createNew); if (!createNew) { MessageBox.Show("Go_Frp 已经启动了!"); return; } // 显示登录窗口 Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Go_Frp()); } } }