C#-播放器相关
axWindowsMediaPlayer1.URL= 設置路徑
axWindowsMediaPlayer1.Ctlcontrols.play();開始
axWindowsMediaPlayer1.Ctlcontrols.pause();暫停
axWindowsMediaPlayer1.currentMedia.durationString;總長度 **:**
axWindowsMediaPlayer1.currentMedia.getItemInfo("Title");標題
axWindowsMediaPlayer1.Ctlcontrols.currentPositionString;進度 **:**
axWindowsMediaPlayer1.settings.volume.ToString();音量
axWindowsMediaPlayer1.settings.volume++音量++
axWindowsMediaPlayer1.settings.setMode("loop", true);單曲循環
axWindowsMediaPlayer1.settings.setMode("shuffle", true);取消單曲循環
總結
- 上一篇: Windowsw核心编程 第13章 Wi
- 下一篇: C#-获取磁盘,cpu,内存信息