That looks like it might be a little harder becuase of the LEDs. Are they mounted to the PCB? If it's all one piece you might be able to mask off the LEDs and lens and then spraypaint the PCB. That usually protects the electronics pretty well. You could probably get away with clear spraypaint over it assembled (with the lens covered) to seal around the LEDs, case seam, and wire.