http://hi.baidu.com/aqiang000000/blog/item/05507e3692c9b4daa3cc2ba3.html
功能实现主要分三步:
1、添加两个引用:WindowsFormsIntegration.dll (负责整合WPF和Windows)、System.Windows.Forms.
2、在 XAML文件中添加两个引用(粗体部分):














3、在XAML编码区实现你想添加的控件:
原文添加的是 DataGridView控件:





效果图:
本人添加的是 NumericUpDown控件:





效果图:
在本人的代码中Grid的作用相当于Web页面中用来布局的Table。 此处加上Grid是为了方便移动控件的位置。