public void EraseFrames()
 {
     if (m_endFrame >= 0)
     {
         m_recorder.EraseFrame(m_beginFrame, m_endFrame);
         m_beginFrame   = 0;
         m_endFrame     = -1;
         m_updateStatus = true;
     }
 }
        public void EraseFrames()
        {
            if (m_Recorder.Editable)
            {
                int frameCount = m_Recorder.FrameCount;
                int begin      = beginFrame;
                int end        = (endFrame >= 0 ? endFrame : frameCount);
                int size       = end - begin;

                if (size > 0 && size < frameCount)
                {
                    m_Recorder.EraseFrame(beginFrame, endFrame);

                    ResetFrames();
                }
            }
        }