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