Menus have always been a part of Windows Forms applications. They give the user quick and easy access to important application commands in an easy-to-understand, easy-to-browse interface. The .NET Framework version 2.0 introduced MenuStrips, which allow the rapid creation of Forms menus as well as context menus (also known as shortcut menus, which appear when the user right-clicks an object). In this lesson, you will learn how to create menus and context menus and configure them for use in your application.
After this lesson, you will be able to:
■ Create and configure a MenuStrip component on a Windows Form.
■ Change the Displayed menu structure programmatically.
■ Create and configure the ContextMenuStrip component on a Windows Form.
Estimated lesson time: 30 minutes
Was this article helpful?