处理程序AxWMPLib._WMPOCXEvents_PlayStateChangeEventHandler
的可能参考是什么?错误无法找到类型或名称空间名称'AxWMPLib'(缺少使用指令或程序集引用吗?)
当我在法通过这个事件,
private void axWindowsMediaPlayer1_PlayStateChange(object sender,AxWMPLib._WMPOCXEvents_PlayStateChangeEvent e)
编译引发以下错误:
The type or namespace name 'AxWMPLib' could not be found (are you missing a using directive or an assembly reference?)