private void SnapshotButton_Click(object sender, RoutedEventArgs e) { if (Directory.Exists(MainWindow.MWInstance.imageDir)) { WebCamCtrl.ImageDirectory = MainWindow.MWInstance.imageDir; WebCamCtrl.TakeSnapshot(); } }
private void SnapshotButton_Click(object sender, RoutedEventArgs e) { // Take snapshot of webcam image. WebCamCtrl.TakeSnapshot(); }