I am currently working with WmpLib.WindowsMediaPlayer ()
but when I click on play after clicking pause the music starts again at the beginning instead of continuing and I do not understand why.
Could someone explain to me?
private void play_Click(object sender, EventArgs e)
{
player = new WMPLib.WindowsMediaPlayer();
player.URL = SoundFilePath;
player.controls.play();
}
private void pause_Click(object sender, EventArgs e)
{
player.controls.pause();
}