private void btnGuardar_Click(object sender, EventArgs e)
 {
     try
     {
         if (string.IsNullOrEmpty(txtNombre.Text.Trim()))
         {
             txtNombre.Focus();
             epPresentation.SetError(txtNombre, "Campo obligatorio - ingrese nombre de la presentacion");
         }
         else
         {
             if (isNew)
             {
                 bool rpta = NPresentacion.Insertar(txtNombre.Text.Trim(), txtDescripcion.Text.Trim());
                 mensajeYes("Presentacion insertado correctamente (O_O)");
                 Limpiar();
                 txtNombre.Focus();
                 objNP.ListarDataGridViewPresentacion(frmListPresentacion.MyFormlistP.dgvPresentacion);
                 frmListPresentacion.MyFormlistP.dgvPresentacion.Refresh();
             }
             else
             {
                 bool rpta2 = NPresentacion.Actualizar(txtNombre.Text.Trim(), txtDescripcion.Text.Trim(), idPresentacion);
                 mensajeYes("Presentacion actualizado correctamente (0_0)");
                 Limpiar();
                 txtNombre.Focus();
                 objNP.ListarDataGridViewPresentacion(frmListPresentacion.MyFormlistP.dgvPresentacion);
                 frmListPresentacion.MyFormlistP.dgvPresentacion.Refresh();
                 isNew = true;
             }
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error ...... ???", MessageBoxButtons.OK, MessageBoxIcon.Error);
         throw;
     }
 }