Files
Wand-Enhancer-luanslimadev/WandEnhancer/App.xaml.cs
T
2026-03-30 21:39:06 +03:00

27 lines
652 B
C#

using System;
using System.Threading.Tasks;
using System.Windows;
using WandEnhancer.Core;
using WandEnhancer.Core.Services;
using WandEnhancer.View.MainWindow;
using MessageBox = System.Windows.Forms.MessageBox;
namespace WandEnhancer
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
protected override void OnStartup(StartupEventArgs e)
{
LocalizationManager.Initialize();
this.MainWindow.Show();
}
public new static void Shutdown()
{
Current.Dispatcher.Invoke(() => Current.Shutdown());
}
}
}