Raising Events from a Component

Raising an event from a component is no different from raising an event from a class that is not a component. For details, see Handling and Raising Events. Since components are designable, you must apply attributes to event members to ensure that they are displayed correctly in the property browser. For details, see Design-Time Attributes for Components.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft