示例#1
0
文件: App.xaml.cs 项目: dstiert/bloop
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            DispatcherUnhandledException += ErrorReporting.DispatcherUnhandledException;
            AppDomain.CurrentDomain.UnhandledException += ErrorReporting.UnhandledExceptionHandle;

            Window = new MainWindow();
            CommandArgsFactory.Execute(e.Args.ToList());
        }
示例#2
0
 public SettingWindow(MainWindow mainWindow)
 {
     this.MainWindow = mainWindow;
     InitializeComponent();
     Loaded += Setting_Loaded;
 }