internal static void Launch() { if (Current != null) { return; } var th = new Thread(() => { var debugView = new DebugView(); debugView.Show(); Dispatcher.Run(); }); th.SetApartmentState(ApartmentState.STA); th.IsBackground = true; th.Start(); }
internal static void Launch() { if (Current != null) { return; } Thread th = new Thread(() => { DebugView debugView = new DebugView(); debugView.Show(); System.Windows.Threading.Dispatcher.Run(); }); th.SetApartmentState(ApartmentState.STA); th.IsBackground = true; th.Start(); }