How To: Hide close button for Windows Form

Several times there is a requirement to hide/disable the close button and to close the Form with a button on the Form to exit the application.

To hide the Close Button on the form we can set ControlBox propertyof the Form to False (by default its set to True)

19 Comments

Comments have been disabled for this content.