1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Configuration;
- using System.Data;
- using System.Linq;
- using System.Threading.Tasks;
- using System.Windows;
- namespace GDNXFD.Alert.Config
- {
- /// <summary>e
- /// Interaction logic for App.xaml
- /// </summary>
- public partial class App : Application
- {
- void App_Startup(object sender, StartupEventArgs e)
- {
- try
- {
- // Start the application anyway to show error message
- Views.MainWindow main = new Views.MainWindow();
- main.Show();
- }
- catch (Exception ex)
- {
- System.Diagnostics.Debug.WriteLine(ex);
- Views.ErrorWindow main = new Views.ErrorWindow();
- main.Show();
- }
- }
- }
- }
|