Beispiel #1
0
        void OnApplicationStartup(object sender, StartupEventArgs e)
        {
            DispatcherUnhandledException += App_DispatcherUnhandledException;

            var mainWindow = new MainWindow();
            mainWindow.Show();
        }
Beispiel #2
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            DispatcherUnhandledException += App_DispatcherUnhandledException;

            MainWindow mainWindow = new MainWindow();
            mainWindow.Show();
        }