PIbd-23_Vrazhkin_S_A_Electr.../lab1/Program.cs

23 lines
661 B
C#
Raw Normal View History

2023-11-28 13:43:14 +04:00
using Serilog;
2023-09-19 19:04:33 +04:00
namespace ElectricLocomotive
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
2023-11-28 13:43:14 +04:00
Log.Logger = new LoggerConfiguration()
.WriteTo.File("log.txt")
.MinimumLevel.Debug()
.CreateLogger();
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
2023-10-17 13:49:31 +04:00
Application.Run(new FormLocomotivCollection());
2023-09-19 19:04:33 +04:00
}
}
}