Exemple #1
0
 private void OpenVideo(ref VideoSet VS, ref OpenFileDialog OFD, ref Panel P)
 {
     if (OFD.ShowDialog() == DialogResult.OK)
     {
         VS = new VideoSet(OFD.FileName, ref P);
         VS.JustStopped += new EventHandler(Stopped);
         //TODO ResizeForm();
     }
 }
Exemple #2
0
 private void Stop(ref VideoSet VS)
 {
     VS.Stop();
 }
Exemple #3
0
 private void PreviousFrame(ref VideoSet VS)
 {
     VS.PreviousFrame();
 }
Exemple #4
0
 private void Play(ref VideoSet VS)
 {
     VS.Play();
 }
Exemple #5
0
 private void Pause(ref VideoSet VS)
 {
     VS.Pause();
 }
Exemple #6
0
 private void NextFrame(ref VideoSet VS)
 {
     VS.NextFrame();
 }
Exemple #7
0
 private void ChangeParams(ref VideoSet VS, Hashtable Params)
 {
     VS.FrameBegin = (uint)Params["FrameBegin"];
     VS.FrameEnd = (uint)Params["FrameEnd"];
     VS.Rate = (float)Params["Rate"];
 }
Exemple #8
0
 private void ChangeCurrentFrame(ref VideoSet VS, uint CurrentFrame)
 {
     VS.CurrentFrame = CurrentFrame;
 }