Removes an applicationExit event handler that was previously added with addOnApplicationExit.
public static void removeOnApplicationExit( EventHandler value )
value
The com.ms.wfc.core.EventHandler delegate to remove.
An application exit event is triggered just before the application quits. This gives an application the chance to clean up any objects that may not otherwise be released through garbage collection. The closing of an application cannot be prevented in an event handler for the applicationExit event. To prevent the closing of an application, you can handle the closing event of the Form class for the main form of your application.
See Also addOnApplicationExit