if (Panel1.Visible = false && Panel2.Visible = false) //错误提示:赋值号左边必须是变量、属性或索引器
   {
      this.title1.Visible = false;
   }
想实现的功能:
panel1 和 panel2 如果 都隐藏的话 
那么 title1也 不显示了 。。