Restart WPF application

The following code allows you to restart your WPF application without problem


   
   System.Diagnostics.Process.Start(Application.ResourceAssembly.Location);
   Application.Current.Shutdown();

I hope it’s usefull

También te podría gustar...

Deja una respuesta

Tu dirección de correo electrónico no será publicada.