In this article, we'll show how to add menus to your forms in a Windows Application. Most users are familiar with Menu Bars and they use standard menus such as File, Edit, and Help that are in their applications. Here, we will see how to create a custom Dropdown menu in a Windows Application that looks like:
So let's have a look at a practical example of how to create a "Menu" in a Windows Application.
So start a new project by clicking "File" -> "New" -> "Project..." from the menu at the top of Visual C#. Create a new Windows Application project. Call it anything you like. When your new form appears, you can add a Menu Bar quite easily.
Now drag and drop a ToolStrip control onto the form.
Now select a ToolStrip control and press F4 to show the Property window. The Property Window looks like:
Now select the Items collection property from the above window and select Button from the select item.
Now you can customize the image, Text Property and click on the item collection to add a dropdown menu.
After selecting the property click on the "Ok" button to see the menu.
Now click on the Home to see the dropdown menu.
Similarly we can add more menu items.