private void OnLiveViewUpdate(EosLiveImageEventArgs eventArgs)
 {
     if (this.LiveViewUpdate != null)
         this.LiveViewUpdate(this, eventArgs);
 }
 private void Camera_LiveViewUpdate(object sender, EosLiveImageEventArgs e)
 {
     LiveViewData viewData = new LiveViewData();
     if (Monitor.TryEnter(Locker, 1))
     {
         try
         {
             _liveViewImageData = e;
         }
         catch (Exception exception)
         {
             Log.Error("Error get live view image event", exception);
         }
         finally
         {
             Monitor.Exit(Locker);
         }
     }
 }
Beispiel #3
0
 private void Camera_LiveViewUpdate(object sender, EosLiveImageEventArgs e)
 {
     _liveViewImageData = e;
 }