【发布时间】:2012-05-04 23:28:20
【问题描述】:
我正在编写一个 WPF 应用程序,我想使用this library。
我可以使用 IntPtr 来获取窗口
new WindowInteropHelper(this).Handle
但这不会转换为 System.Windows.Forms.IWin32Window,我需要显示这个 WinForms 对话框。
如何将IntPtr 转换为System.Windows.Forms.IWin32Window?
【问题讨论】: