flbreen

flbreen

  • NA
  • 25
  • 0

How do I create a closing window event?

Apr 3 2004 7:14 PM
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) {}

Answers (4)