priyamtheone
priyamtheone

Reputation: 537

Detecting mouse button down & up events on the system menu of form

How do I detect left mouse button down and up events on the 'Close' option of the system menu that appears when the mouse is clicked on the top left corner of a form?

Upvotes: 0

Views: 213

Answers (1)

peter
peter

Reputation: 15149

You don't, there is the Form.Closing event and the Form.Closed event on your form

Upvotes: 1

Related Questions