Events
When you first learn any programming language you are taught how to program using a procedural approach. This is on purpose to focus your attention on the language itself without having to explain some of the more complex concepts in programming. In fact, this is the approach we took early on in this book to get you started learning Visual Basic .NET.
In contrast, developing a user interface requires an event-driven programming model. Instead of having a predefined start point and end point with a set of code in the middle, event-driven programming requires that you develop snippets (or small sections) of code that get executed when an event happens in your application. When an event occurs, it is said that the event “fires.” Any code ...
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