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(); } }
private void Stop(ref VideoSet VS) { VS.Stop(); }
private void PreviousFrame(ref VideoSet VS) { VS.PreviousFrame(); }
private void Play(ref VideoSet VS) { VS.Play(); }
private void Pause(ref VideoSet VS) { VS.Pause(); }
private void NextFrame(ref VideoSet VS) { VS.NextFrame(); }
private void ChangeParams(ref VideoSet VS, Hashtable Params) { VS.FrameBegin = (uint)Params["FrameBegin"]; VS.FrameEnd = (uint)Params["FrameEnd"]; VS.Rate = (float)Params["Rate"]; }
private void ChangeCurrentFrame(ref VideoSet VS, uint CurrentFrame) { VS.CurrentFrame = CurrentFrame; }