case1)
Application.Exit();

case2)
System.Diagnostics.Process.GetCurrentProcess().Kill();

+ Recent posts