Question : c# sub menu items

Hi!
I would like to know how to access all the sub menu items under a given menu in c#.
I have the following code for accessing the top menu:
for (int a = 0; a <= menuStrip1.Items.Count - 1; a++)
{
            if (menuStrip1.Items[a].Name.ToString() == str_menu_name)
             {
   
/*
            Tree Menu:              
            - sub menu1
            - sub menu2
**/
              }
    }

//              Tree Menu =>menuStrip1.Items[a]
//              How to get access to sub menu1 and sub menu 2?

Please help!

Answer : c# sub menu items

Random Solutions  
 
programming4us programming4us