How do I create a closing window event?
I was following a message which said "select closing from the list of events"
Where in VS do I find is the list of events?
I added the following function but it never gets called when I click on the X in the window:
private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{}