How do I: Clear the ToolStripManager.Merge
Hello:
I am using the following lines to populate the MDIParent toolStrip from the MDIChild toolStrip. It works file. However, I would like to clear the MDIParent toolStrip, just in case there was something there from a previous form. Is there a way to clear/delete/remove the MDIParent toolStrip?
FormICEPack FormICEPack = (FormICEPack)Application.OpenForms["FormICEPack"];
ToolStripManager.Merge(toolStripUser, FormICEPack.toolStripICEPack);
GustavoPosted Mar 9, 2010, 4:50 PM
I finally found how. I did it wiith the line below:
FormICEPack.toolStripICEPack.Items.Clear();