An event is a message sent by an object announcing that something has happened. Events are implemented using delegates, a form of object-oriented function pointer that allows a function to be invoked indirectly by way of a reference to the function.
Provides an overview of events, event handlers, and associated terminology.
Demonstrates how to use the WithEvents keyword and the Handles clause to associate an event with an event handler.
Demonstrates how to use the AddHandler and RemoveHandler statements to dynamically associate an event with an event handler.
Describes the process of defining events.
Gives directions for using the Visual Basic Code Editor to write code to respond to events.
Demonstrates how to define an event and uses the RaiseEvent statement to cause the event to occur
Demonstrates how to define an event and an event handler, and how to use the AddHandler statement to associate them.
Demonstrates how to write event handlers using the Handles clause or the AddHandler statement.
Defines a class that raises an event when you call the CauseEvent method.
Provides a step-by-step description of how to declare and raise events for a class.
Demonstrates how to write an event-handler procedure.
Demonstrates how to define a custom event that allows its event handlers to be called asynchronously.
Demonstrates how to define a custom event that uses memory only when the event is handled.
Lists common issues that arise with event handlers in inherited components.
Provides an overview of delegates in Visual Basic.
Provides an overview of the event model in the .NET Framework.
Describes how to work with events associated with Windows Forms objects.