Adds an event handler to listen to the Disposed event on the component.
[Visual Basic] Public Overridable Event Disposed As EventHandler [C#] public virtual event EventHandler Disposed; [C++] public: virtual __event EventHandler* Disposed;
[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.
The event handler receives an argument of type EventArgs.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family