WPF中通过System.Windows.Forms.Application.Restart方法可以实现软件重启
System.Diagnostics.Process.Start(Application.ResourceAssembly.Location);
Application.Current.Shutdown();
WPF中通过System.Windows.Forms.Application.Restart方法可以实现软件重启
System.Diagnostics.Process.Start(Application.ResourceAssembly.Location);
Application.Current.Shutdown();