mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 21:02:08 +08:00
16 lines
458 B
C#
16 lines
458 B
C#
using System.Windows;
|
|
using System.Windows.Threading;
|
|
|
|
namespace Sheas_Cealer
|
|
{
|
|
public partial class App : Application
|
|
{
|
|
protected override void OnStartup(StartupEventArgs e) => new MainWindow(e.Args).Show();
|
|
|
|
private void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
|
|
{
|
|
MessageBox.Show("Error: " + e.Exception.Message);
|
|
e.Handled = true;
|
|
}
|
|
}
|
|
} |