Chapter 15. Events, Delegates, and Lambda Expressions
In this chapter:
You are probably familiar with events in Windows programming, from subroutines that handle common user events, such as a button click or a list item selection. However, consuming these predefined events is just the tip of the iceberg.
Classes can also trigger events that can be used by other classes. Event-raising classes should follow certain rules, which you’ll examine later in more detail. You can also connect events retroactively (at runtime) to corresponding handlers, so that they’re ...