The SystemEvents class provides a set of global system events to callers. System events are such things as shutdown notifications and changes to user preferences. When a system event is raised it will call back the corresponding delegate from a different thread. You should be prepared for this, and make the call thread-safe. You should not do time-consuming processing in a system event notification because it may prevent other applications from functioning.
Object
SystemEvents
[Visual Basic] NotInheritable Public Class SystemEvents [C#] public sealed class SystemEvents [C++] public __gc __sealed class SystemEvents [JScript] public class SystemEvents
[To be supplied.]
Namespace: System.Core
Assembly: System.dll