N NuBBeR Sep 29, 2004 #1 Either I need to know how to disable the close button ("x") or handle the close event on the main form.
Either I need to know how to disable the close button ("x") or handle the close event on the main form.
S Shiva Sep 29, 2004 #2 Handle the Closing event of the form. Set the CancelEventArgs.Cancel property to control the form-closing. Either I need to know how to disable the close button ("x") or handle the close event on the main form.
Handle the Closing event of the form. Set the CancelEventArgs.Cancel property to control the form-closing. Either I need to know how to disable the close button ("x") or handle the close event on the main form.