title: Access the ToolStripMenuItem child in WinForms
body: <p>H all,</p>
  
  <p>I created a menu strip in Winform not dynamically. And it's all in invisible, when the user is have rights only it visible. My one of username have full rights,. For this I wrote the below code,..  </p>
  
  <pre><code>private void menuActive(MenuStrip menus)
  {
       foreach (ToolStripMenuItem menu in menus.Items)
       {
            menu.Visible = true;               
            for (int i = 0; i &lt; menu.DropDown.Items.Count; i++)
            {
                 menu.DropDown.Items[i].Visible = true;                        
            }
       }
  }
  </code></pre>
  
  <p>But this is visible the menuItem and child menuItem,. my few childItem menu have more childItem.  That means, In TsmMaster and tsmregisterMaster are visible but I can't access the registerMasters Childs(ClassMaster, division Master....)</p>
  
  <p>See the below image,..</p>
  
  <p><img src="https://i.stack.imgur.com/qwpbO.png" alt="enter image description here"></p>
  
  <p>Please give your suggestion. </p>