Disable Close Button

  • Thread starter Thread starter NuBBeR
  • Start date Start date
N

NuBBeR

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.
 
Back
Top