好记性不如烂笔头。

C# winform 注销登录

Process.Start(Assembly.GetExecutingAssembly().Location);
Process.GetCurrentProcess().Kill();