If you want to play 2 videos at the same time you need to enter 3 parts of code:
Part 1:
using System.Runtime.InteropServices;
Part 2:
under:
public Form1()
{
InitializeComponent();
}
enter code:
[DllImport("winmm.dll")]
private static extern long mciSendString(
string command,
StringBuilder returnValue,
int returnLength,
IntPtr winHandle);
Part 3:
string filename1 = "";
mciSendString("close mf1", null, 0, IntPtr.Zero);
mciSendString("open \"" + filename1 + "\" type mpegvideo alias mf1", null, 0, IntPtr.Zero);
mciSendString("play mf1", null, 0, IntPtr.Zero)
this worked for me;if you want to know more about this code search for MCI(Media Control Interface);Some extra commands:
pause mf1
resume mf1
stop mf1
seek mf1 to x // x is some number
try them to see what they do