Application.Current.Shutdown(); Thread thread = new Thread(new ThreadStart(reStart)); thread.Start();
private void reStart() { string path = AppDomain.CurrentDomain.BaseDirectory + "AppDesktopStartUp.exe"; Process.Start(path); }
Application.Current.Shutdown(); Thread thread = new Thread(new ThreadStart(reStart)); thread.Start();
private void reStart() { string path = AppDomain.CurrentDomain.BaseDirectory + "AppDesktopStartUp.exe"; Process.Start(path); }