spt/qk30ic/Program.cs
2025-09-19 18:34:20 +09:00

37 lines
726 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#define DEBUG
using System;
using System.Diagnostics;
using System.Threading;
using System.Windows.Forms;
namespace qk30ic;
internal static class Program
{
[STAThread]
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(defaultValue: false);
Application.ThreadException += Application_ThreadException;
Application.Run(new Form1());
}
private static void Application_ThreadException(object sender, ThreadExceptionEventArgs e)
{
try
{
}
catch
{
Debug.WriteLine("★★_ERROR_100");
}
/*finally
{
Debug.WriteLine("\u3000\u3000☆アプリケーションリブート");
Thread.Sleep(10000);
Application.Restart();
}*/
}
}