I have been asked to remove or disable the close button from our VB .NET 2005 MDI application. There are no native properties on a form that allow you to grey out the close
When you press the X box on the form. The Form1_Closing is done first, then the Form1_Closed is done.
Form1_Closing
Form1_Closed
The e.Cancel = True in the Form1_Closing - prevents Form1_Closed from being called therefore, leaving your form still active.
e.Cancel = True