Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exception Window
Message
De
01/03/2012 15:16:21
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Exception Window
Divers
Thread ID:
01536980
Message ID:
01536980
Vues:
65
I'm having a problem with displaying the exception window when the app throws an exception. The code is in MainEntry.cs.
                // Log any unhandled exceptions
                appWrapper.Application.DispatcherUnhandledException += delegate(object sender, DispatcherUnhandledExceptionEventArgs e)
                {
                    // Write the error to the application log
                    mmAppBase.Log.WriteException(e.Exception);

                    // Display the Exception form
                    var ExceptionWindow = new mmExceptionWindow(e.Exception.Message, e.Exception.StackTrace);
                    ExceptionWindow.ShowDialog();
                };
The dialog window is displayed, but is completely empty; no text, not buttons...nothing. Anybody know what's happening here?
Thanks,
Dan Jurden
djurden@outlook.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform