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.
Leave
C.
FormClosed
D.
FormClosing
Explanation:
The Closing event occurs as the form is being closed.
D is the correct answer of which its FormClosing
D: FormClosing offers the user the option to cancel the closing operation, therefore is best suited for Closing confirmation.