Raises the EnabledChanged event.
Assembly: WindowsFormsIntegration (in WindowsFormsIntegration.dll)
Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.Notes to Inheritors
When overriding in a derived class, be sure to call the base class's method so that registered delegates receive the event.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.