------解决方案-------------------- have a try,http://hi.baidu.com/stuoopluwqbbeod/item/32ec38403da42ee2bcf45167 ------解决方案-------------------- Geomam.UserControl1 xx = new Geomam.UserControl1();
System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost();
host.Child = xx;
this.MStackPanel.Children.Add(host); ------解决方案--------------------