Files
Chat/PrototypChat/App.xaml.cs

15 lines
345 B
C#

using System.Windows.Threading;
namespace ownChat
{
public partial class App
{
private void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs args)
{
new ExceptionWindow(args.Exception) { Owner = MainWindow }.Show();
args.Handled = true;
}
}
}