1234567891011121314151617181920212223242526272829303132333435363738394041 |
- global using static PCC2.Data.DbAccess;
- using PCC2.Gui;
- namespace PCC2
- {
- internal static class Pcc2GuiProgram
- {
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- [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!");
- }
- }
- }
|