将C ++ MFC对话框嵌入到C#表单中 [英] Embedding a C++ MFC dialog into a C# form
本文介绍了将C ++ MFC对话框嵌入到C#表单中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何嵌入一个C ++ MFC对话框成C#形式?
解决方案
明显的和自然的解决你的问题,最好是嵌入在对话框中的C#形式。在资源编辑器中打开表单并在C#中构建它。
这有一个很大的优势,即所有数据都已经在C#中。
备注:其他解决方案真的更复杂,错误显示和有问题。 (dll,Active-X,exe)
How to embed a C++ MFC dialog into a C# form?
解决方案
The obvious and natural solution your problem it is better to embed the dialog in the C# form. Open the form in the resource editor and build it in C#.
This has the big advantage that all data is already in C#.
Remark: other solution are REALLY more sophisticated, error prown and problematic. (dll, Active-X,exe)
这篇关于将C ++ MFC对话框嵌入到C#表单中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文