mirror of
https://github.com/greenshot/greenshot
synced 2025-07-15 01:23:47 -07:00
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2180 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
21 lines
No EOL
643 B
C#
21 lines
No EOL
643 B
C#
using System;
|
|
using System.Windows;
|
|
using System.Windows.Threading;
|
|
using System.Data;
|
|
using System.Xml;
|
|
using System.Configuration;
|
|
|
|
namespace GreenshotLanguageEditor {
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App : Application {
|
|
public App() :base () {
|
|
this.DispatcherUnhandledException += new DispatcherUnhandledExceptionEventHandler(App_DispatcherUnhandledException);
|
|
}
|
|
void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) {
|
|
new ErrorWindow(e.Exception).ShowDialog();
|
|
e.Handled = true;
|
|
}
|
|
}
|
|
} |