Saturday, November 07, 2009

Application.Restart in WPF

WPF does not provide Application.Restart() functionality like Windows.Forms does.
What is the best way to restart WPF application?


            Process.Start(Assembly.GetEntryAssembly().Location);
            Application.Current.Shutdown();


Regards,
Oleh

No comments: