Exemplo n.º 1
0
 private void CleanupStop( )
 {
     if (!VideoRunning && !PhotoRunning)
     {
         WakeProcessing.Reset( );
     }
 }
Exemplo n.º 2
0
        public void StartPhoto( )
        {
            if (PhotoRunning)
            {
                return;
            }
            PhotoRunning = true;
            if (VideoRunning)
            {
                StopVideo( );
            }
            var hr = PhotoControl.Run( );

            checkHR(hr, "Failed running graph");
            WakeProcessing.Set( );
        }