Quasar/Quasar.Server/Program.cs

22 lines
506 B
C#
Raw Normal View History

using Quasar.Server.Forms;
using System;
using System.Net;
2014-07-08 12:58:53 +00:00
using System.Windows.Forms;
2018-09-27 08:05:10 +00:00
namespace Quasar.Server
2014-07-08 12:58:53 +00:00
{
internal static class Program
2014-07-08 12:58:53 +00:00
{
2015-01-13 18:29:11 +00:00
[STAThread]
private static void Main()
2015-01-13 18:29:11 +00:00
{
// enable TLS 1.2
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
2015-01-13 18:29:11 +00:00
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
2015-01-27 22:47:13 +00:00
Application.Run(new FrmMain());
2015-01-13 18:29:11 +00:00
}
2014-07-08 12:58:53 +00:00
}
2018-09-27 08:05:10 +00:00
}