Step 1: Open the case and examine the circuit board
Beginning from the right side and moving to the left, you see the battery leads from the switches and the red "on" LED. One of the resistors limits the current to the LED. The other provides the correct bias current to the transistor (the black object at the lower right corner of the circuit board). Transformers cannot work with direct current. The transistor switches on and off rapidly to create a rising and falling voltage for the transformer to step up. Next comes the transformer. My friend's unit has only one capacitor for storage of the charge while it builds up to the maximum charge of the capacitor. This unit has two capacitors and four diodes. I did not check it out thoroughly, but I believe the diodes and the capacitors make a voltage multiplier. At the far left of the circuit board are four bleeder resistors to dissipate the charge on the capacitors when one is finished using the swatter. The bare wires are the high voltage wires to the grid wires in the yellow swatter frame.