Esempio n. 1
0
        void OnApplicationStartup(object sender, StartupEventArgs e)
        {
            DispatcherUnhandledException += App_DispatcherUnhandledException;

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

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