Exemple #1
0
        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();
        }
Exemple #2
0
 void UserClosedThePlayer()
 {
     m_VideoPlayer = null;
 }