private void InitUIinSTA() { _wpfTester = new WPFTester(); var application = (_applicationfactory != null) ? _applicationfactory() : new Application(); _window = _factory(); _wpfTester.ShowWindow(_window); _ARE.Set(); while (_CTS.IsCancellationRequested == false) { DispatcherHelper.DoEvents(); } }
private void InitUIinSTA() { _wpfTester = new WPFTester(); var application = (_applicationfactory != null) ? _applicationfactory() : new Application(); _window = _factory(); _wpfTester.ShowWindow(_window); _ARE.Set(); while (_CTS.IsCancellationRequested == false) { DispatcherHelper.DoEvents(); } }