Direct answer: On a DIP-switch radio system, the transmitter and receiver usually need the same supported radio format and matching switch code.
The number and style of switches matter. A 10-switch system is not automatically compatible with an 8-switch or 9-switch system, and frequency still has to match the product family.
Do not copy switches blindly
First identify the receiver model and its radio format. Then use that system’s programming instructions.
Official reference: Nice/Linear lists distinct DIP-switch formats such as Multi-Code and Delta-3.