1
Reply

How do I: Clear the ToolStripManager.Merge

Ask a question
Gustavo

Gustavo

14 years ago
2.7k
1

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);

Answers (1)