Changes

Creating Context Menus in Visual Basic

51 bytes added, 21:00, 24 January 2008
no edit summary
To complete this phase of the tutorial, add menu items labeled ''Hide'' and ''Show''.
 
== Associating a Component with a Context Menu ==
Now that we have designed our context menu we need to associate it with the form object. To do this, select the form in Visual Studio and scroll through the properties in the Properties panel until you find the ''ContextMenuStrip'' property. Click on the down arrow in the value field and select ''TextBoxMenu'' to associate this menu with the form.