程序人生,您好!
因为WPF和Winform本来绘制的方式就是不同的,如果你要将让这两种技术进行交互的话,我建议您不如单纯使用WPF的control,或者采用这样一个变通方法。
一个window里winform会显示在最前的,可以用两个window来做,第一个window放winform的控件,第二个window放wpf控件,window可以设置透明背景。
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.