using System; using System.Windows.Forms; namespace RfidWeb { internal static class Program { /// /// 应用程序的主入口点。 /// [STAThread] static void Main() { AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true); AppContext.SetSwitch("Npgsql.DisableDateTimeInfinityConversions", true); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FormMain()); //Application.Run(new FromSQl()); } } }