Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I insert a drop-down menu for a simple Windows Forms app in Visual Studio 2008?

People also ask

How do I create a drop down list in Windows form?

Step 2: Drag the ComboBox control from the ToolBox and drop it on the windows form. You are allowed to place a ComboBox control anywhere on the windows form according to your need. Step 3: After drag and drop you will go to the properties of the ComboBox control to set the DropDownStyle property of the ComboBox.

How do I add a menu in Visual Studio?

In Solution Explorer, open TopLevelMenuPackage. vsct. The guid and id values of the menu specify the command set and the specific menu in the command set. The guid and id values of the parent position the menu on the section of the Visual Studio menu bar that contains the Tools and Add-ins menus.


You can use a ComboBox with its ComboBoxStyle (appears as DropDownStyle in later versions) set to DropDownList. See: http://msdn.microsoft.com/en-us/library/system.windows.forms.comboboxstyle.aspx