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 { /// e /// Interaction logic for App.xaml /// 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(); } } } }