I am using C#.net.My problem is that
I have a MDI Parent form and on that I have menustrip control which i have disabled at the time of load of MDI parent.Now I have MDI child login form.
Now If the valid user sign in then only that menustrip should be enabled.
I used the below code on the "signin" button click event.
MDIparent form1=new MDIparent();
form1.menustrip 1.enabled=true;
(modifier of menustrip is public).
But this code is not working so may i know how to solve this problem.
I have a MDI Parent form and on that I have menustrip control which i have disabled at the time of load of MDI parent.Now I have MDI child login form.
Now If the valid user sign in then only that menustrip should be enabled.
I used the below code on the "signin" button click event.
MDIparent form1=new MDIparent();
form1.menustrip 1.enabled=true;
(modifier of menustrip is public).
But this code is not working so may i know how to solve this problem.
Comment