G
Guest
Hi,
What is the standard code for closing down an application?.
Application.Exit(); Works fine but I'm worried that its not the same as the eventhandler created by the ide for closing down an app. If I make an menu item File->Exit, I would like this to equivalate pressing the close form icon in the upper right corner. How do I link these two to run the same app shutdown code?
What is the standard code for closing down an application?.
Application.Exit(); Works fine but I'm worried that its not the same as the eventhandler created by the ide for closing down an app. If I make an menu item File->Exit, I would like this to equivalate pressing the close form icon in the upper right corner. How do I link these two to run the same app shutdown code?