Esempio n. 1
0
 public bool AbrirStatment()
 {
     try
     {
         Int32   _NVIA_Codigo = Item.NVIA_Codigo;
         String  _Mensaje     = String.Empty;
         Boolean _isCorrect   = Client.AbrirStatment_Update_NaveViaje_OV(_NVIA_Codigo, ref _Mensaje);
         if (_isCorrect)
         {
             Infrastructure.WinForms.Controls.Dialogos.MostrarMensajeSatisfactorio(Title, "Se ha procesado la Apertura del Statment Correctamente");
             return(true);
         }
         else
         {
             Infrastructure.WinForms.Controls.Dialogos.MostrarMensajeInformacion(Title, "Ha ocurrido un error al procesar la Apertura del Statment", _Mensaje); return(false);
         }
     }
     catch (Exception ex)
     { Infrastructure.WinForms.Controls.Dialogos.MostrarMensajeError(Title, "Ha Ocurrido un error al Abrir el Statment", ex); return(false); }
 }