Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to start a new UI process/thread, passing to it an object

$
0
0

I need to quickly develop a reporting application whose target is win7 + on a desktop (users have computers with big screens). I will do that in .Net WPF.

I'm thinking to use a Navigation app "Sel1" for the the first screens but then I want to switch to a non-navigation WPF "Sel2". The latter "Sel2" will have a view with a button to extract a report. "Sel1" should pass a selection object (let's say a Selection class defined in my Model or ViewModel, containing the parameters' values)

Ideally I would like to start "Sel2" as a new Process, but it would be difficult to use inter-process communication for such a basic operation, so I assume that "Sel2" should be a new thread, is it correct? But I also think that I should avoid to start a Background Worker for an UI task... 

I'm developing in C# on .Net 4.0 (not 4.5, sorry)

What is your advice? Thanks in advance


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>