private void button_Copy1_Click(object sender, RoutedEventArgs e)
 {
     if (!connected)
     {
         WebcamCtrl.StartPreview();
         button_Copy1.Content = "Disconnect";
     }
     else
     {
         WebcamCtrl.StopRecording();
         button_Copy1.Content = "Connect";
     }
 }
Ejemplo n.º 2
0
 private void StopRecordingButton_Click(object sender, RoutedEventArgs e)
 {
     // Stop recording of webcam video to harddisk.
     WebcamCtrl.StopRecording();
 }