Mekalamani V

Mekalamani V

  • NA
  • 44
  • 8.8k

How to Enable and Disable the Mdiparent menu strip

Oct 14 2015 1:27 AM
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)