void droneController_OnNotifyVideoMessage(object sender, VideoNotificationEventArgs e)
 {
     if (!Dispatcher.CheckAccess())
     {
         Dispatcher.BeginInvoke(new Action <object, VideoNotificationEventArgs>(droneController_OnNotifyVideoMessage), sender, e);
     }
     else
     {
         ///VideoFeedImage.Source = e.CurrentImage;
     }
 }
Exemplo n.º 2
0
 void droneController_OnNotifyVideoMessage(object sender, VideoNotificationEventArgs e)
 {
     if (!Dispatcher.CheckAccess())
     {
         Dispatcher.BeginInvoke(new Action<object, VideoNotificationEventArgs>(droneController_OnNotifyVideoMessage), sender, e);
     }
     else
     {
         VideoImg.ImageSource = e.CurrentImage;
         ///VideoFeedImage.Source = e.CurrentImage;
     }
 }