Szerkesztés

Megosztás a következőn keresztül:


Component.Disposed Event

Definition

Occurs when the component is disposed by a call to the Dispose() method.

public:
 virtual event EventHandler ^ Disposed;
[System.ComponentModel.Browsable(false)]
public event EventHandler? Disposed;
[System.ComponentModel.Browsable(false)]
public event EventHandler Disposed;
[<System.ComponentModel.Browsable(false)>]
member this.Disposed : EventHandler 
Public Custom Event Disposed As EventHandler 

Event Type

Implements

Attributes

Remarks

When you create a Disposed delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about the event handler delegates, see Handling and Raising Events.

Applies to

See also