Esempio n. 1
0
 private void ucGe_Menu_event_btnconsultar_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         frmRo_Liquidacion_Vacaciones_Mant frm = new frmRo_Liquidacion_Vacaciones_Mant();
         frm.Set(info);
         frm.Accion = Cl_Enumeradores.eTipo_action.consultar;
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
         Log_Error_bus.Log_Error(ex.ToString());
     }
 }
Esempio n. 2
0
 private void ucGe_Menu_event_btnCancelarCuotas_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         if (info.IdOrdenPago != null)
         {
             MessageBox.Show(" La solicitud de vacaciones ya fue liquidada; ¡revise las ordenes de pagos! ", param.Nombre_sistema, MessageBoxButtons.OK, MessageBoxIcon.Information);
             return;
         }
         frmRo_Liquidacion_Vacaciones_Mant frm = new frmRo_Liquidacion_Vacaciones_Mant();
         frm.Set(info);
         frm.Accion = Cl_Enumeradores.eTipo_action.grabar;
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
         Log_Error_bus.Log_Error(ex.ToString());
     }
 }