private static void ShowThreadedWindow() { var window = new ThreadedWindow(); window.Show(); Dispatcher.Run(); }