public void Form_KeyDown(object sender, KeyEventArgs e) { if (e.ToString() == "p") { if (wmpPlayer.playState == WMPLib.WMPPlayState.wmppsPlaying) { wmpPlayer.Ctlcontrols.pause(); } if (wmpPlayer.playState == WMPLib.WMPPlayState.wmppsPaused) { wmpPlayer.Ctlcontrols.play(); } } if(e.ToString()=="+") wmpPlayer.settings.volume += 1; if (e.ToString() == "-") wmpPlayer.settings.volume -= 1; if (e.ToString() == "U") wmpPlayer.settings.mute = true; }
public System.Int32 currentAudioLanguage {get; set;}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)