UserControl1 uc = new UserControl1();
            uc.Parent = panel1;
            panel1.Container.Add(uc);     
  
最后一行代码报 未将对象引用设置到对象的实例错误  是怎么回事啊