コード例 #1
0
 private void _camera_Error(object sender, EosExceptionEventArgs e)
 {
     try
     {
         Log.Error("Canon error", e.Exception);
     }
     catch (Exception exception)
     {
         Log.Error("Error get camera error", exception);
     }
 }
コード例 #2
0
 private void _camera_Error(object sender, EosExceptionEventArgs e)
 {
     try
     {
         Log.Error("Canon error", e.Exception);
         StaticHelper.Instance.SystemMessage = e.Exception.Message;
     }
     catch (Exception exception)
     {
         Log.Error("Error get camera error", exception);
         StaticHelper.Instance.SystemMessage = exception.Message;
     }
 }