Understanding Application Events

Applications that provide support for the application framework can be also managed with application events. This is the typical case of client applications such as Windows Forms and WPF applications. Windows Forms applications provide the following events:

NetworkAvailabilityChanged, which is raised when the network becomes available or the connection is no longer available

ShutDown, which is raised when the application shuts down

Startup, which is raised when the application starts

StartupNextInstance, which is raised when another instance of the application starts up

UnhandledException which is raised when the application encounters an unhandled exception during tasks that involve the application ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.