Hi 闫晴
根据你的描述,你也许缺一个类或者dll库。
别人封装好的函数或类你调用时如果缺少相应类或组件就会提示这个信息
你可以考虑添加引用或者试一下这段代码
using System.Windows.FormsCommonDialog.HookProc
语法:
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protectedoverride IntPtr HookProc(
IntPtr hWnd,
int msg,
IntPtr wparam,
IntPtr lparam
)
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey.