dear friends i have a problem please help
I have one mdi form,one child form and panel in child form and some user controls, and on mdi there is menu strip.
I have called one user control on panel of child form and child form in mdiparent.
I wan that whenever I click one button in user control a particular menustrip item must be clicked
About calling of toolstrip menu item
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Gomathi PalaniswamyRank #714 · 3.3K reputationPosted Oct 12, 2010, 12:08 AM EDT
take the below coding as example and make it your self
for (i = 0; i < sourcefrm.Controls.Count; i++)
{
if (sourcefrm.Controls[i] is GroupBox)
{
GroupBox rg = (GroupBox)sourcefrm.Controls[i];
foreach (Control c in rg.Controls)
{
if (c is TextBox)
{
c.Enabled = true;
}
if (c is ComboBox)
{
c.Enabled = true;
}
if (c is DateTimePicker)
{
c.Enabled = true;
}
}
}
}