是的WindowsFormsHost适合目的(.NET WPF主办的WinForms)?目的、是的、适合、WindowsFormsHost

2023-09-04 00:24:49 作者:曾经拼了命的爱

一个图形用户界面驱动的应用程序需要举办一些prebuilt的WinForms基础的组成部分。 这些组件提供了使用GDI +和DirectX的混合物高性能交互视图。 该意见处理控制输入和显示自定义的图形渲染。 在一个WinForms线束由供应商的部件进行测试。

A GUI driven application needs to host some prebuilt WinForms based components. These components provide high performance interactive views using a mixture of GDI+ and DirectX. The views handle control input and display custom graphical renderings. The components are tested in a WinForms harness by the supplier.

能否各种商用应用程序中使用WPF为它的图形用户界面,并依靠WindowsFormsHost举办​​的WinForms组件或 有你的技术故障,例如经验输入滞后,更新的问题,将让你谨慎?

Can a commericial application use WPF for its GUI and rely on WindowsFormsHost to host the WinForms components or have you experience of technical glitches e.g. input lags, update issues that would make you cautious?

推荐答案

我们目前正在使用我们的软件主办的WinForms DataGridView控件的WindowsFormsHost,我们已经没有任何实际问题吧。有几件事情需要提防,但:

We're currently using WindowsFormsHost in our software to host the WinForms DataGridView control, and we've not had any real problems with it. A few things to watch out for though:

首先是href="http://msdn.microsoft.com/en-us/library/aa970688.aspx">空域限制中的

 
精彩推荐
图片推荐