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)
{}
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

joy.simpsonRank #4,292 · 353 reputationPosted Apr 3, 2004, 2:29 PM EST
flbreen37 reputationPosted Apr 6, 2004, 1:11 PM EDT
flbreen37 reputationPosted Apr 6, 2004, 1:55 PM EDT
onthe_row86 reputationPosted Apr 8, 2004, 10:28 AM EDT