Skip to Main Content
Building Applications and Components with Visual Basic .NET
book

Building Applications and Components with Visual Basic .NET

by Ted Pattison, Dr. Joe Hummel
October 2003
Intermediate to advanced content levelIntermediate to advanced
592 pages
13h 42m
English
Addison-Wesley Professional
Content preview from Building Applications and Components with Visual Basic .NET

Handling Events Raised by the .NET Framework

At this point you should have a firm understanding of how events work. You should also be comfortable reading and writing code that uses both static event binding and dynamic event binding. This chapter concludes with practical examples of handling some of the common events raised by various frameworks within the .NET Framework Class Library.

The System.EventHandler Delegate

When you build applications using Windows Forms or ASP.NET, you will observe that a significant percentage of events you encounter are defined in terms of a generic delegate type named EventHandler. The EventHandler type exists in the System namespace and has the following definition:

 Public Delegate EventHandler(sender As Object, ...
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.
Start your free trial

You might also like

Visual Basic® .NET Power Coding

Visual Basic® .NET Power Coding

Paul Kimmel
Visual Basic 2015 Unleashed

Visual Basic 2015 Unleashed

Alessandro Del Sole
Programming in the .NET Environment

Programming in the .NET Environment

Damien Watkins, Mark Hammond, Brad Abrams

Publisher Resources

ISBN: 0201734958Purchase book