private void button1_Click(object sender, EventArgs e) { Application.ExitThread(); Application.Exit(); Application.Restart(); Process.GetCurrentProcess().Kill(); }