问题:WinForm项目添加WPF项目后,在WPF的TextBox中无法输入文字
解决方案:在窗体show()之前,添加中间那句话。
注意:
工程添加引用WindowsFormsIntegration,而且还需要添加PresentationCore、PresentationFrameWork、WindowsBase.
在将WinForm项目整合到WPF项目中后,若遇到TextBox无法输入文字的情况,请确保已正确引入WindowsFormsIntegration,并添加PresentationCore、PresentationFramework和WindowsBase。此教程提供了解决方案。
问题:WinForm项目添加WPF项目后,在WPF的TextBox中无法输入文字
解决方案:在窗体show()之前,添加中间那句话。
注意:
工程添加引用WindowsFormsIntegration,而且还需要添加PresentationCore、PresentationFrameWork、WindowsBase.
1313
3731
1718
683
2822

被折叠的 条评论
为什么被折叠?