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{} }
protected void OnImageCapturing(ImageCapturingEventArgs e) { ImageCapturingEventHandler handler = ImageCapturing; if (handler != null) { handler(this, e); } }
private void persistableOutput_ImageCapturing(object sender, ImageCapturingEventArgs e) { record = !record; if (record) { description = "Avi - Recording"; } else { description = "Avi - Stopped"; } }
protected void OnImageCapturing(ImageCapturingEventArgs e) { ImageCapturingEventHandler handler = ImageCapturing; if (handler != null) handler(this, e); }
private void ImageCapturing(object sender, ImageCapturingEventArgs e) { Trace("capturing (sleeping {0}s)", countdownDelay); Beep(1000, 40); System.Threading.Thread.Sleep(countdownDelay * 1000); }