static void Main() { Application.SetHighDpiMode(HighDpiMode.SystemAware); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // Application.Run(new FServer()); Application.Run(FClient.GetInstance()); }
private void ModeInit() { server.RPort = ushort.Parse("30001"); server.IP = FClient.GetInstance().txtBoxIP.Text; server.SPort = ushort.Parse(FClient.GetInstance().txtBoxPort.Text); }