//System.Environment.Exit(0); //Process.GetCurrentProcess().Kill(); //System.Threading.Thread.CurrentThread.Abort();
System.Diagnostics.Process.GetCurrentProcess().Kill(); Application.Exit();