示例#1
0
 private void RecordButton_Click(object sender, RoutedEventArgs e)
 {
     if (Directory.Exists(MainWindow.MWInstance.videoDir))
     {
         WebCamCtrl.VideoDirectory = MainWindow.MWInstance.videoDir;
         WebCamCtrl.StartRecording();
     }
 }
示例#2
0
 private void RecordButton_Click(object sender, RoutedEventArgs e)
 {
     // Start recording of webcam video to harddisk.
     WebCamCtrl.StartRecording();
 }