cancel error in Windows form application code example Example: close windows web forms application c# Application.Exit(); //It needs to be upercase...