K
kjqua
Dear all,
I having hard time
with Mdi forms.
Let me explain my problem by point
(1) I have a Mdi Form called frm_Main
frm_main have a MenuStrip called menuStrip1
(2) then i have a child form called frm_pippo
frm_pippo is called inside frm_main
(3) I would like to enable or disable the Menustrip control from
frm_pippo
// Thi is the code that i try to use inside the frm_pippo
((frm_main)Parent.Parent.Controls["menuStrip1"]).Enabled = false;
but it don't work, some idea ?
Thanks a lot
I having hard time
![Smile :) :)](/styles/default/custom/smilies/smile.gif)
Let me explain my problem by point
(1) I have a Mdi Form called frm_Main
frm_main have a MenuStrip called menuStrip1
(2) then i have a child form called frm_pippo
frm_pippo is called inside frm_main
(3) I would like to enable or disable the Menustrip control from
frm_pippo
// Thi is the code that i try to use inside the frm_pippo
((frm_main)Parent.Parent.Controls["menuStrip1"]).Enabled = false;
![Frown :( :(](/styles/default/custom/smilies/frown.gif)
Thanks a lot