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