private void Frm_Auditoria_Vacaciones_Personal_Load(object sender, EventArgs e)
        {
            BE_Auditoria_Vacaciones_Personals controls = (BE_Auditoria_Vacaciones_Personals)BL_ObjControl_Auditoria_Vacaciones_Personal.PoblarAuditoria_Vacaciones_PersonalSelAll();

            if (controls.Count > 0)
            {
                this.EnvioAlertaAuditoriaVacaciones();
                this.Actualizar_Dato_Vacaciones();
            }

            this.Dispose();
        }
        public override BE_Auditoria_Vacaciones_Personals Obtener_Auditoria_Vacaciones_PersonalSelAll()
        {
            BE_Auditoria_Vacaciones_Personals vs2 = new BE_Auditoria_Vacaciones_Personals();
            DbCommand storedProcCommand           = this.BaseInterface.GetStoredProcCommand("dbo.Auditoria_Vacaciones_Personal");

            using (SqlDataReader reader = (SqlDataReader)this.BaseInterface.ExecuteReader(storedProcCommand))
            {
                while (reader.Read())
                {
                    BE_Auditoria_Vacaciones_Personal item = new BE_Auditoria_Vacaciones_Personal(Convert.ToString(reader["IDITEM"]), Convert.ToString(reader["CODUSER"]),
                                                                                                 Convert.ToString(reader["CODIGO"]), Convert.ToString(reader["NOMBRE"]), Convert.ToString(reader["PERIODO"]),
                                                                                                 Convert.ToString(reader["DERECHO"]), Convert.ToString(reader["UTILIZADO"]), Convert.ToString(reader["PENDIENTE"]),
                                                                                                 Convert.ToString(reader["IP"]), Convert.ToString(reader["FECHA"]));
                    vs2.Add(item);
                }
            }
            return(vs2);
        }