2023-09-21 18:40:56 +04:00
|
|
|
using System.Drawing;
|
2023-12-08 22:44:38 +04:00
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
using NLog.Extensions.Logging;
|
|
|
|
using System.Drawing;
|
|
|
|
using Serilog;
|
|
|
|
using Serilog.Events;
|
|
|
|
using Serilog.Formatting.Json;
|
2023-09-21 18:40:56 +04:00
|
|
|
namespace ProjectAirFighter
|
|
|
|
{
|
|
|
|
internal static class Program
|
|
|
|
{
|
|
|
|
[STAThread]
|
|
|
|
static void Main()
|
|
|
|
{
|
2023-12-08 22:44:38 +04:00
|
|
|
Log.Logger = new LoggerConfiguration()
|
|
|
|
.WriteTo.File("log.txt")
|
|
|
|
.MinimumLevel.Debug()
|
|
|
|
.CreateLogger();
|
|
|
|
Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
2023-10-15 17:11:27 +04:00
|
|
|
Application.Run(new FormAirplaneCollection());
|
2023-09-21 18:40:56 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|