Started 128K model

This commit is contained in:
2026-04-29 22:07:49 +01:00
parent 952db4767b
commit f628848127
4 changed files with 78 additions and 31 deletions

View File

@@ -8,8 +8,12 @@ namespace Desktop
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
Application.ThreadException += (s, e) =>
MessageBox.Show($"UI Thread Crash: {e.Exception.Message}\n\n{e.Exception.StackTrace}", "Fatal Error");
AppDomain.CurrentDomain.UnhandledException += (s, e) =>
MessageBox.Show($"Background Crash: {((Exception)e.ExceptionObject).Message}\n\n{((Exception)e.ExceptionObject).StackTrace}", "Fatal Error");
ApplicationConfiguration.Initialize();
Application.Run(new Form1());
}