Events
An event is a notification. By necessity, this definition is broad. Events encompass a wide range of occurrences and actions. Here is a description of some predefined events, which underscores the breadth of activities. A button-click event notifies a form that a button has been clicked. A timer event is a notification that a set period of time has elapsed. The unhandled exception event of the application domain is a notification of a fatal exception. The Application_Start event notifies a Web application that the application is loading. You also can create custom events for a variety of purposes. Typically an event is exposed as a member of a publisher class, such as a button class.
Anyone interested in an event can subscribe to that event. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access