vs2019中 视图----->其他窗口------>文档大纲 在文档大纲窗口中将多个panel调整为同一级别,即可使用panel.Visible = true;进行显示 panel.Visible = false;进行隐藏。