Override this method and place your App's shutdown code in this section. This method will only be called once as your App is unloaded for the first time.

Namespace:  RedCritterV1
Assembly:  RedCritterV1 (in RedCritterV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public virtual void OnUnload()
Public Overridable Sub OnUnload

Remarks

This event is not guaranteed to fire when your App is closed, depending on how the system is shutdown.

See Also