C# .NET

Sub Menus In C# .Net

 

 

You can add Sub Menus just as easily. A Sub menu is one that opens out from
a main menu item.

Halt your programme and return to your form. Click on the New item to
select it. You should see a “Type Here” box appear to the right of
New:

A Sub Menu

Click Inside of this box and type View Project. Hit the enter key and
type View Files in the box below this. Your menu will then look like
this:

Two items on the New Sub Menu

When the form is run, the Sub Menu will look like this:

The Form with a sub menu

Sub menus are quite easy to add! In the next lesson, you’ll learn how to add
shortcuts to your menu items.

|

Kaynak : https://www.homeandlearn.co.uk/csharp/csharp_s4p2.html ‘sitesinden alıntı

Yorum Yap