Exemplo n.º 1
0
 private void _player_OnMotionDetection(object sender, MotionDetectionExEventArgs e)
 {
     Invoke((Action)(() =>
     {
         pbAFMotionLevel.Value = (int)(e.Level * 100);
     }));
 }
 private void VideoEdit1_OnAForgeMotionDetection(object sender, MotionDetectionExEventArgs e)
 {
     Dispatcher.BeginInvoke(new AFMotionDelegate(AFMotionDelegateMethod), e.Level);
 }