Which event should you handle?

You are creating an application that presents the user with a Windows Form. You need to
configure the application to display a message box to confirm that the user wants to close
the form.
Which event should you handle?

You are creating an application that presents the user with a Windows Form. You need to
configure the application to display a message box to confirm that the user wants to close
the form.
Which event should you handle?

A.
Deactivate

B.
FormClosed

C.
Leave

D.
FormClosing

Explanation:
The Closing event occurs as the form is being closed.



Leave a Reply 0

Your email address will not be published. Required fields are marked *