简体   繁体   中英

Mediaplayer in c# windows application

I have added and mediaplayer control to my c# application, and I can make it play a .wma song. My problem is that i want to see if the player is playing. Is there an event that I can use? Or is it a way I can see for how many seconds a song has been playing?

是的,您可以检查PlayState属性或处理PlayStateChange事件

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM