PIbd-23_Vrazhkin_S_A_Electr.../lab1/Program.cs
2023-11-28 13:43:14 +04:00

23 lines
661 B
C#

using Serilog;
namespace ElectricLocomotive
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Log.Logger = new LoggerConfiguration()
.WriteTo.File("log.txt")
.MinimumLevel.Debug()
.CreateLogger();
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormLocomotivCollection());
}
}
}