private void Default_VideoPreviewing(object sender, VideoPreviewingEventArgs e) { DoAction(() => { using (var img = e.Image) { imgPreviewMerged.Source = ToBitmapSource(img); } }); }
private void _desktop_VideoPreviewing(object sender, VideoPreviewingEventArgs e) { DoAction(() => { using (var img = e.Image) { imgPreviewDesktop.Source = ToBitmapSource(img); } }); }