using System; using System.Windows.Forms; namespace NHSE.WinForms; internal static class Program { /// /// The main entry point for the application. /// [STAThread] private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var args = Environment.GetCommandLineArgs(); if (args.Length > 1) { if (args.Contains("-dark")) Application.SetColorMode(SystemColorMode.Dark); } Application.Run(new Main()); } }