處理程序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?)