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

Nilesh PatilRank #1,129 · 1.6K reputationPosted May 15, 2018, 4:21 AM EDT
Dhimesh Parmar132 reputationPosted May 15, 2018, 5:29 PM EDT