Headlight switch is easy: pull off the black plastic knob, and then screw off the chrome bezel (using your wire coat hangar tool). The switch can then be pushed backwards into the dash.
The ignition switch is more involved. If you're just painting the dash, I would only remove the chrome bezel and then mask off the rest of the ignition switch.