1. if (treeView1.SelectedNode.Text == "个人信息") { Form1 f4 = new Form1(); f4.TopLevel = false; panel1.Controls.Clear(); panel1.Controls.Add(f4); panel1.Show(); }