Esempio 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{}
 }
Esempio n. 2
0
        protected void OnImageCapturing(ImageCapturingEventArgs e)
        {
            ImageCapturingEventHandler handler = ImageCapturing;

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

            if (record)
            {
                description = "Avi - Recording";
            }
            else
            {
                description = "Avi - Stopped";
            }
        }
Esempio n. 4
0
 protected void OnImageCapturing(ImageCapturingEventArgs e)
 {
     ImageCapturingEventHandler handler = ImageCapturing;
     if (handler != null)
         handler(this, e);
 }
Esempio 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);
 }