示例#1
0
文件: search.cs 项目: anndream/anpr-1
        private void buttonPlayVideo_Click(object sender, EventArgs e)
        {
            if (m_VideoPlayer == null)
            {
                m_VideoPlayer = new VideoPlayerMainForm(m_AppData, UserClosedThePlayer);
            }

            if (m_VideoPlayer.IsDisposed)
            {
                m_VideoPlayer = new VideoPlayerMainForm(m_AppData, UserClosedThePlayer);
            }

            if (!m_VideoPlayer.Visible)
                m_VideoPlayer.Show();

            PushVideoRangeToVideoPlayer();
        }
示例#2
0
文件: search.cs 项目: anndream/anpr-1
 void UserClosedThePlayer()
 {
     m_VideoPlayer = null;
 }