Files
2025-08-02 05:20:17 +07:00

36 lines
964 B
C#

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
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[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());
}
}
}