23 lines
757 B
C#
23 lines
757 B
C#
using System;
|
||
using System.Windows.Forms;
|
||
using System.Net;
|
||
using Электронная_Фармация.Classes;
|
||
|
||
namespace Электронная_Фармация
|
||
{
|
||
internal static class Program
|
||
{
|
||
[STAThread]
|
||
static void Main()
|
||
{
|
||
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
|
||
AppConfig.MigrateLegacySettings();
|
||
AppConfig.UpgradeUserSettingsIfNeeded();
|
||
AppDebugLog.Info("App", $"Запуск. ApiBaseUrl={AppConfig.ApiBaseUrl}, Log={AppDebugLog.CurrentLogFilePath}");
|
||
Application.EnableVisualStyles();
|
||
Application.SetCompatibleTextRenderingDefault(false);
|
||
Application.Run(new ElectroPharmacy());
|
||
}
|
||
}
|
||
}
|