Here is the following code...the Process.Exited
event handler method is not being called...I also checked that by breakpoints and all of that.
Process f;
private void button3_Click_1(object sender, EventArgs e)
{
f = new Process();
f.StartInfo.FileName = "tutorial.mp4";
f.EnableRaisingEvents = true;
f.Exited += new EventHandler(f_Exited);
f.Start();
}
private void f_Exited(object sender, System.EventArgs e)
{
//some stuff not important
}