global using static PCC2.Data.DbAccess; using PCC2.Gui; namespace PCC2 { internal static class Pcc2GuiProgram { /// /// The main entry point for the application. /// [STAThread] static void Main() { Console.WriteLine("Hello, World!"); #if DEBUG try { #endif // To customize application configuration such as set high DPI settings or default font, // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); Application.Run(new Pcc2MainForm()); #if DEBUG } catch (Exception e) { Console.WriteLine(e); } finally { Console.WriteLine(); Console.Write("Finished, press ENTER to exit..."); Console.ReadLine(); } #endif Console.WriteLine("Bye, World!"); } } }