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 { /// /// App.xaml 的交互逻辑 /// public partial class App : Application { public App() { var core = new TechnologyAssemblerCoreModule(); core.Initialize(); TracerListener.StartListening(); DispatcherUnhandledException += (s, e) => Program.ErrorBox($"SAGE FastHash 计算器遇上了未处理的错误:{e.Exception}"); } } }