Ejemplo n.º 1
0
        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());
        }
Ejemplo n.º 2
0
 public SettingWindow(MainWindow mainWindow)
 {
     this.MainWindow = mainWindow;
     InitializeComponent();
     Loaded += Setting_Loaded;
 }