Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. MDI Menus Question

MDI Menus Question

Scheduled Pinned Locked Moved C#
questiondata-structuresbeta-testinglearning
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    akyriako78
    wrote on last edited by
    #1

    Hi When a MDIChild menu is merged with the MDIParent menu via combination of MatchOnly and Insert MergeAction , actually the ToolStripMenuItems are removed from the MDIChild menu and are inserted in the MDIParent menu.So after merge is complete i can't enumerate the ToolStripMenuItems of the MDIChild menu because they don't exist there anymore.Does this accomplished via shallow copy or deep copy ? If i keep an array of these elements before Merge takes place will this collection substitutes the enumeration ? If not is there any way to deal with these items as a collection (stricty as a collection because i can access them individually ) after merging (inside the MDIChild of course) ? Thanx in advance. P.S Working on VS2005 beta 2

    A 1 Reply Last reply
    0
    • A akyriako78

      Hi When a MDIChild menu is merged with the MDIParent menu via combination of MatchOnly and Insert MergeAction , actually the ToolStripMenuItems are removed from the MDIChild menu and are inserted in the MDIParent menu.So after merge is complete i can't enumerate the ToolStripMenuItems of the MDIChild menu because they don't exist there anymore.Does this accomplished via shallow copy or deep copy ? If i keep an array of these elements before Merge takes place will this collection substitutes the enumeration ? If not is there any way to deal with these items as a collection (stricty as a collection because i can access them individually ) after merging (inside the MDIChild of course) ? Thanx in advance. P.S Working on VS2005 beta 2

      A Offline
      A Offline
      akyriako78
      wrote on last edited by
      #2

      A List works fine.:)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups