winform中 让 程序 自己重启
private void button1_Click(object sender, EventArgs e)
{
Application.ExitThread();
Application.Exit();
Application.Restart();
Process.GetCurrentProcess().Kill();
}