Share via


Adding Events to Custom Classes

You can include your own events in custom classes, and create event procedures that run when those events occur. Creating a custom event is somewhat more complex than creating an event procedure for a built-in event, because your code has to raise the custom event in response to something that happens within the code.

In This Section