Same as pressing a Form's X button.
Closes the form and raises the Close event.
If the form is not the main form, then the form will hide and not close (although the Close event will still be triggered).