如何在WPF MDI性质中使用Windows C#窗体? [英] How to use Windows C# Forms in WPF MDI nature ?
本文介绍了如何在WPF MDI性质中使用Windows C#窗体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI,
在我们的项目中,我们使用WPF MDI性质应用程序的显式调用.在这里,我想重用现有的C#Winforms表单.
我可以将表单显示为frmMain.show();
,但它与窗口对话框一样好.我想以子表格的形式调用父WPF"表格.请帮助我进一步.我无法再次在WPF中复制整个C#Winforms工作.请帮帮我.
问候,
Janak.
In our project, we are using explicit calls of WPF MDI nature application. Here I want to reuse the existing C# Winforms form.
I am able to show the form as frmMain.show();
, but it is coming as good as a window dialog. I would like to call as a child form to Parent WPF form. Please help me to proceed further. I can''t replicate the whole C# Winforms work in WPF again. Please help me.
Regards,
Janak.
推荐答案
在WPF中根本不支持MDI.
There''s no support for MDI in WPF - at all.
此处是开放的WPF/MDI在Codeplex上的源实现:
http://wpfmdi.codeplex.com/ [ ^ ]
Here''s an open source implementation of WPF/MDI on Codeplex:
http://wpfmdi.codeplex.com/[^]
这篇关于如何在WPF MDI性质中使用Windows C#窗体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文