void miniPlayerUCtrl1_FrameChangedEvent(object sender, FrameChangedEventArgs e)
 {
     MuteEvents       = true;
     timeLineTB.Value = e.Frame;
     warpedBox.Text   = miniPlayerUCtrl1.CurrentFrame.ToString();
     MuteEvents       = false;
 }
        private void PlayTimer_Tick(object sender, EventArgs e)
        {
            int  newFrame = absFrame = GetFrame();
            long elasped  = watch.Elapsed.Ticks;

            //fpsLabel.Text = framesPlayed.ToString() + " fps (" + m_fps.ToString() + " asked) - " + ((double)elasped / 10000000.0).ToString("0.00") + "sec";

            if (Warped)
            {
                newFrame = (int)mWarp.GetWarped(newFrame + mWarp.Min) - (int)mWarp.Min;
            }

            if (newFrame != m_CurrentFrame)
            {
                framesPlayed += absFrame - m_CurrentFrame;
                if (elasped - TicksBuffer > 5000000)
                {
                    TicksBuffer  = elasped;
                    framesPlayed = 0;
                }

                FrameChangedEventArgs fcea = new FrameChangedEventArgs(CurrentFrame, absFrame > (Length - 1) ? (Length - 1) + Min : (absFrame < 0 ? Min : absFrame + Min));
                m_CurrentFrame = newFrame;
                UpdateFrame();
                OnFrameChanged(fcea);
            }
        }
 void MiniPlayerUCtrl_FrameChangedEvent(object sender, FrameChangedEventArgs e)
 {
 }
 public virtual void OnFrameChanged(FrameChangedEventArgs e)
 {
     FrameChangedEvent(this, e);
 }