Offering Events to the External World

In the previous section, you learned how to handle existing events. Now it’s time to get your hands dirty on implementing and raising custom events within your own objects. Visual Basic provides two ways for implementing events: the Event keyword and custom events. Let’s examine both of them.

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.