/// <summary> /// Constructor /// </summary> public MainWindow() { InitializeComponent(); this.InitializeUI(); ProductDirector.Initialize(this); // Redirects catched unhandled exceptions to the application product Application.Current.DispatcherUnhandledException += new System.Windows.Threading.DispatcherUnhandledExceptionEventHandler(ProductDirector.ApplicationUnhandledExceptionHandler); }