如何把winfrom窗口嵌入到wpf窗口中

怎么把winfrom窗口嵌入到wpf窗口中怎么把winfrom窗口嵌入到wpf窗口中以前我是直接弹出来的现在要以页签的

怎么把winfrom窗口嵌入到wpf窗口中
怎么把winfrom窗口嵌入到wpf窗口中

以前我是直接弹出来的  现在要以页签的形示显示出来  咱个弄呀  
[最优解释]
WPF不是有个WindowsFormsHost吗
[其他解释]
有没人会呀
[其他解释]
我去百度哈 
[其他解释]
 System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost();
            XmlView xmlWindow = new XmlView(_fileName);
            host.Child = xmlWindow;
            this.gridName.Children.Add(host);
这样就行了 嘿嘿
[其他解释]
System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost();
             XmlView xmlWindow = new XmlView(_fileName);
             host.Child = xmlWindow;
             this.gridName.Children.Add(host);


请问 这段实现了将一个windowsform放到WPF指定区域么?那这个windowsform的名字是什么,WPF的指定空间又是哪?