http://community.csdn.net/Expert/topic/3476/3476760.xml?temp=.9876978
看一下就可以了

解决方案 »

  1.   

    这样:
        public static Form formInstance;在构造函数中令formInstance = this;在显示之前判断formInstance 若不为null则激活formInstance
     formInstance.Activate();
    如果为null  Form xxx = new Form();
                     xxx.show();只是别忘记在Form的析构函数中,令formInstance = null;
      

  2.   

    //主窗体---MdiForm
    //子窗体---ChildForm
    // 菜单项--MenuItem1//主窗体的代码
    bool Showed=false;private void MenuItem1_Clicked(sender,e)
    {
       if(Showed==false)
       {  
       ChildForm ChildForm1=new ChildForm();
       ChildForm1.Show();
       Showed=true;
       }
       else
       {
        this.Mdiparent.Mdichild.Activte();
        }
    }private void Mdichild_Closed(sender,e)
    {
       Showed=false;
    }
    /////////////////////////////////////////////////
    个别方法可能有笔误,大概意思差不多.
    希望能帮上忙.