예제 #1
0
        public bool Grabar()
        {
            try
            {
                dtp_es_fecha_registro.Focus();
                dtp_es_fecha_registro.Focus();
                Get_Marcaciones();
                bus_marcaciones.GrabarDB_Transgandia(listado_marcaciones);


                MessageBox.Show(param.Get_Mensaje_sys(enum_Mensajes_sys.Se_guardaron_los_datos_correctamente), param.Nombre_sistema, MessageBoxButtons.OK, MessageBoxIcon.Information);
                Cargar_empleado();
                return(true);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
                Log_Error_bus.Log_Error(ex.ToString());
                return(false);
            }
        }