Summary

Chapter 9 demonstrated the fundamentals of singlecast and multicast delegates. Delegates support a dynamic event programming model as well as passing procedural types as arguments. In addition to learning how to declare and define Delegate types, you learned how to respond to events across project boundaries.

Events are an essential part of Windows programming. You will probably write event handlers to respond to user activity. However, when you are defining custom controls and new classes, you will need to define events, and the delegates that respond to those events will contain the list of responses.

Going forward, you will see many examples of events and delegates in use. New information relating to how an event or delegate was employed ...

Get Visual Basic® .NET 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.