using System; using System.Collections.Generic; using System.Windows.Forms; using PatientMan.Forms; using System.Threading; using System.Globalization; namespace PatientMan { internal static class Program { /// /// The main entry point for the application. /// [STAThread] private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); common.testdate = DateTime.Today; common.visitdate = DateTime.Today; SettingInfo.InitInfo(); if (SettingInfo.Language== 0) { Thread.CurrentThread.CurrentUICulture = new CultureInfo("vi-VN"); } else { Thread.CurrentThread.CurrentUICulture = new CultureInfo("en"); } Application.Run(new frmLogin()); } } }