Hello guys. I'm play a vide with Microsoft.DirectX.AudioVideoPlayback in C#.
i'm tried to 'freeze' the last scene from video. I don't succeed, so I decide to show a picture with last sceen. And I don't succeed again.
I have this code:
Anybody knows how can i do? HEELP :(
i'm tried to 'freeze' the last scene from video. I don't succeed, so I decide to show a picture with last sceen. And I don't succeed again.
I have this code:
private void button1_Click(object sender, EventArgs e) { Xvid.Owner = c1; //c1 is the panel, Xvid is the video; c1.Size = new Size(80, 80); Xvid.Play(); Xvid.Ending += new EventHandler(c1back); Xvid.Audio.Ending += new EventHandler(c1back); } private void c1back(object sender, EventArgs e) { c1.BackgroundImage = Xpic; c1.BackgroundImageLayout = ImageLayout.Stretch; }
Anybody knows how can i do? HEELP :(