using HandyControl.Controls; using HKCardIN.ViewModels; using Stylet; using StyletIoC; using System; using System.Configuration; using System.Windows.Controls; using System.Windows.Threading; using System.Windows; namespace HKCardIN { public class Bootstrapper : Bootstrapper { /// /// 程序启动 /// protected override void OnStart() { } protected override void ConfigureIoC(IStyletIoCBuilder builder) { } /// /// 初始化系统相关参数配置 /// protected override void Configure() { base.Configure(); } /// /// 初始化VM /// protected override void Launch() { base.Launch(); } /// /// 加载首页VM /// /// protected override void DisplayRootView(object rootViewModel) { base.DisplayRootView(rootViewModel); } /// ///VM加载完毕 /// protected override void OnLaunch() { base.OnLaunch(); } /// /// 退出 /// /// protected override void OnExit(ExitEventArgs e) { base.OnExit(e); } /// /// 全局异常捕获 /// /// protected override void OnUnhandledException(DispatcherUnhandledExceptionEventArgs e) { GC.Collect(); } } }