WPF程序自重启(注销重启)

System.Windows.Forms.Application.ExitThread();
System.Windows.Forms.Application.Exit();
System.Windows.Forms.Application.Restart();
Process.GetCurrentProcess().Kill();

原文地址:https://www.cnblogs.com/MarcLiu/p/13787072.html