private void OnStartup(object sender, StartupEventArgs e) { AppTools.SetUpExceptionHandling(); AppTools.Initialize(true); }