Applying It

Try to complete the following exercises by yourself.

Independent Exercise 1

Build a context menu on a form that contains three menu items and an event handler for each menu item.

Independent Exercise 2

Build a context menu on a form that contains three menu items and one event handler that handles all three menu items' Click events.

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.