Esempio n. 1
0
		private void QueueThreadProc( object dispatcher )
		{
			// start window in new thread
			dispatcherQueueForm = new DispatcherQueue((System.Windows.Threading.Dispatcher)dispatcher);
			dispatcherQueueForm.Show();
			// a dispatcher is automatically created by WPF
			System.Windows.Threading.Dispatcher.Run();
		}