private void OnLiveViewUpdate(EosLiveImageEventArgs eventArgs)
 {
     if (this.LiveViewUpdate != null)
         this.LiveViewUpdate(this, eventArgs);
 }
Exemplo n.º 2
0
 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);
         }
     }
 }
Exemplo n.º 3
0
 private void Camera_LiveViewUpdate(object sender, EosLiveImageEventArgs e)
 {
     _liveViewImageData = e;
 }