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. Basically Visual Basic provides two ways for implementing events: the Event keyword and custom events, an addition still alive from VB 2005. Let’s discover both of them.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.132.12