Detecting X button click of a window in winforms.

Printable View