Converting ToolStripMenuItem to MenuItem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ta1234
    New Member
    • Aug 2012
    • 1

    Converting ToolStripMenuItem to MenuItem

    I need to convert ToolStripMenuIt em to MenuItem, but i cannot find any casting.

    what i need to do is to get a toolstripmenuit em and add to it new DropDownItem and then somehow return the whole new toolstripmenuit em with the new dropdownitem as a menuitem, i tried to go on a foreach loop over the dropdownitems and manually add the dropdownitems to the menuitem but i cannot managed to add the events of the dropdownitems too..

    if you can give me a direction how to do that it will be wonderful
Working...