Exemplo n.º 1
0
 private void persistableOutput_ImageCapturing(object sender, ImageCapturingEventArgs e)
 {
     // toggle here. We have to click for the start and the
     // stop.
     this._isRecording = !this._isRecording;
     //Sure would be nice to be able to update the UI... if (this._record{}else{}
 }
Exemplo n.º 2
0
        protected void OnImageCapturing(ImageCapturingEventArgs e)
        {
            ImageCapturingEventHandler handler = ImageCapturing;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 3
0
        private void persistableOutput_ImageCapturing(object sender, ImageCapturingEventArgs e)
        {
            record = !record;

            if (record)
            {
                description = "Avi - Recording";
            }
            else
            {
                description = "Avi - Stopped";
            }
        }
Exemplo n.º 4
0
 protected void OnImageCapturing(ImageCapturingEventArgs e)
 {
     ImageCapturingEventHandler handler = ImageCapturing;
     if (handler != null)
         handler(this, e);
 }
Exemplo n.º 5
0
 private void ImageCapturing(object sender, ImageCapturingEventArgs e)
 {
     Trace("capturing (sleeping {0}s)", countdownDelay);
     Beep(1000, 40);
     System.Threading.Thread.Sleep(countdownDelay * 1000);
 }