Ejemplo n.º 1
0
        private void btn_Drag_Scroll(object sender, EventArgs e)
        {
            if (!m_bDownloadByTime)
            {
                m_SliderPos = trackBarNetPlayPos.Value;
                m_PreTime   = System.DateTime.Now.Ticks;

                timerNetPlayBack.Stop();
                XMSDK.H264_DVR_SetPlayPos(m_nNetPlayHandle, m_SliderPos / (float)1000.0);
                Thread.Sleep(200);
                timerNetPlayBack.Start();
            }
        }
Ejemplo n.º 2
0
        private void trackBarPlayPos_Scroll(object sender, EventArgs e)
        {
            int value = trackBarLocalPlayPos.Value;

            XMSDK.H264_DVR_SetPlayPos(m_nLocalplayHandle, (float)(value / 1000.0));
        }
Ejemplo n.º 3
0
 private void trackBarPos_DragDrop(object sender, DragEventArgs e)
 {
     m_SliderPos = trackBarNetPlayPos.Value;
     m_PreTime   = System.DateTime.Now.Ticks;
     XMSDK.H264_DVR_SetPlayPos(m_nNetPlayHandle, m_SliderPos / (float)1000.0);
 }