Ejemplo n.º 1
0
 private void TakeSnapshotButton_Click(Object sender, RoutedEventArgs e)
 {
     // Take snapshot of webcam video
     FileName = WebcamCtrl.TakeSnapshot();
     WebcamCtrl.StopCapturing();
     CamGrid.Visibility       = Visibility.Collapsed;
     TransmitGrid.Visibility  = Visibility.Visible;
     TransmitImage.Source     = new ImageSourceConverter().ConvertFromString(FileName) as ImageSource;
     TransmitImage.Visibility = Visibility.Visible;
 }
Ejemplo n.º 2
0
 private void StopCaptureButton_Click(Object sender, RoutedEventArgs e)
 {
     WebcamCtrl.StopCapturing();
 }