private void axWindowsMediaPlayer1_Enter(object sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = @"L:\about.mp4";
}
private void button1_Click(object sender, EventArgs e)
axWindowsMediaPlayer1.URL = @"E:/Song/Video/1.mp4";
axWindowsMediaPlayer1.Ctlcontrols.play();
and a second button that execute this code when clicked:private void button2_Click(object sender, EventArgs e) { axWindowsMediaPlayer1.URL = @"E:/Song/Video/2.mp4"; axWindowsMediaPlayer1.Ctlcontrols.play(); }but none of these methods works. I need help to solve this problem.
and a second button that execute this code when clicked:
private void button2_Click(object sender, EventArgs e)
axWindowsMediaPlayer1.URL = @"E:/Song/Video/2.mp4";
but none of these methods works. I need help to solve this problem.