|Dear All, Good day.
Need your help on threading.
I want to use a wpf window as progress window across my project.
On the main UI thread while doing the business logics i need to open a new wpf window in separate thread as progress window and once the Business logic is done i want to close the same.
I googled and found couple of examples to open a wpf window in separate thread and with new STA.. but am not able to find how to close the same window once done.
My progress window doesn't allow the user to close it.
progresswindow _pw = new progresswindow();
This is wat i wanted to do. But as the main thread is very busy it wont show the progress window i know. I used the background worker and showed the progress bar.. But the thing is i have different business logic which will work based on the users clicks.. so i may need to create different workers for handling those.
If i do something like above mentioned window as progress window i can commonly use the same for all places.
Hence request your help here my friends.
thanks in advance.