Beispiel #1
0
 static void Main()
 {
     if (VersionChecker.NewVersion())
     {
         return;
     }
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new MainForm());
 }
Beispiel #2
0
 static void Main()
 {
     ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072 | SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls;  // 3072 corresponds to TLS 1.2
     if (VersionChecker.NewVersion())
     {
         return;
     }
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new MainForm());
 }