Sheas-Cealer/App.xaml.cs
2024-12-06 19:38:44 +08:00

21 lines
518 B
C#

using System.Windows;
using System.Windows.Threading;
using Sheas_Cealer.Preses;
using Sheas_Cealer.Wins;
namespace Sheas_Cealer;
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
_ = new SettingsPres();
new MainWin(e.Args).Show();
}
private void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
{
MessageBox.Show($"Error: {e.Exception.Message}");
e.Handled = true;
}
}