How to restart the WPF Application

How to restart the WPF Application

23 Feb 2010 01:02:51
Hi Experts, I have a question in WPF,How to restart the WPF Application ? Thank you
Gold   Boarder
Posts: 156
From 03-Jun-2009
You're Points: 1106
Bookmark
Re:How to restart the WPF Application23 Feb 2010 01:02:51
Hi In the WPF there is no method Application.Restart() like windows forms. here only we have method Application.Current.Shutdown(); , so how we can restart the WPF Application we do this way. public static void Restart() { Application.Current.Shutdown(); System.Windows.Forms.Application.Restart(); } Thank you
RRaveen
Gold  Boarder
Posts: 156
From 03-Jun-2009
You're Points: 1106
Bookmark
^ Scroll to Top