private void CrashThread() { Crash crashWindow = new Crash(); crashWindow.Report.Text = crashReport; crashWindow.Closed += new EventHandler(CrashWindow_Closed); crashWindow.Show(); System.Windows.Threading.Dispatcher.Run(); }