类: using System; using System.Collections.Generic; using System.Text; using WMPLib; namespace WMP
get { return (this.posy); } } private void PlayFile(String url) { WMPLib.WindowsMediaPlayer Player = new WMPLib.WindowsMediaPlayer(); Player.URL = url; Player.controls.play
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, WMPLib_TLB
//music_plan.Text = "测试"; //如果播放器的状态是正在播放中 if (musicPlayer.playState == WMPLib.WMPPlayState.wmppsPlaying