| 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 | |