3
Reply

How to Enable and Disable the Mdiparent menu strip

Mekalamani V

Mekalamani V

Oct 14 2015 1:27 AM
293
Hi Frds,
         
        I open the form from mdiparent for that I am using
                Form1 F1=new Form1(); 
                F1.StartPosition = FormStartPosition.CenterScreen;
                F1.Show();
               menuStrip1.Enabled = false;
Now Form1 will get open. When I close the Form1 Mdiparent menustrip will get enabled.In Form1 Close event I use
 
               MDIParent2 m = new MDIParent2();
               m.menuStrip1.Enabled = true;
But this code is not Working 
 
 How Can I do this.
 
Thank You 

Answers (3)