I need to restart application after I click in button.
Problem is that I have some data saved in Application.Current.Properties
. So what I need to do is:
Application.Current.Shutdown();
then start window as Mywindow mw = new Mywindow(parameters);
At this momment aftrer I raise Shutdown()
, it just closing app and cant start window.
Is there any way to do it?