System.Windows.Forms.Integration命名空间在哪里?

Dav*_*vy8 25 wpf interop winforms

我似乎无法找到它,尝试以winform形式生成的wpf形式的键盘输入.发现这个:http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/442782b1-00a1-4e2e-9cc6-ae99b6699126/但是当我尝试使用它时,VS2008抱怨无法找到System.Windows.Forms.Integration命名空间.我在添加引用中找不到引用.

我能想到的唯一一件事可能是因为它是一个移植到VS2008的VS2005项目?

Jar*_*Par 61

您需要添加对WindowsFormsIntegration的引用.如果在Visual Studio中执行"添加引用",它将是.Net选项卡中可用的最后一个DLL

在我的机器上,它位于

%ProgramFiles%\ Reference Assemblies\Microsoft\Framework\v3.0\WindowsFormsIntegration.dll

  • 哦,我在列表中寻找System.Windows.Forms.Integration,而不是WindowsFormsIntegration作为一个单词.他们选择以这种方式命名似乎很奇怪. (8认同)