解决导航问题winform的左侧树控件右侧panel加载用户控件
UserControl1 uc = new UserControl1(); this.splitContainer1.Panel2.Controls.Add(uc); uc.Dock = System.Windows.Forms.DockStyle.Fill;