HashCalculator.GUI/App.xaml.cs
2020-04-03 04:48:57 +02:00

25 lines
630 B
C#

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using TechnologyAssembler;
namespace HashCalculator.GUI
{
/// <summary>
/// App.xaml 的交互逻辑
/// </summary>
public partial class App : Application
{
public App()
{
var core = new TechnologyAssemblerCoreModule();
core.Initialize();
DispatcherUnhandledException += (s, e) => Program.ErrorBox($"SAGE FastHash 计算器遇上了未处理的错误:{e.Exception}");
}
}
}