Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Event Changes in Visual Basic .NET

In Visual Basic 6.0, events were tied to specific objects and had their own event-handling code. For example, on a form with a button and a menu, each had its own Click event; you had to write code in the event handler for each even if they both performed exactly the same function.

In Visual Basic .NET, events are tied to event handlers via delegates, allowing you to create a single event handler for multiple objects. For more information, see Introduction to Event Handlers in Windows Forms.

In addition, the names and behavior of some events for various objects are different in Visual Basic .NET. For more information, see Control Changes in Visual Basic .NET.

See Also

Event Handling in Windows Forms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.