Ok so I left my desktop pc alone, unplugged, for a couple months, and when I came back and plugged it back in, it started emitting a high pitched squealing noise, and when I pushed the power button, it wouldn't turn on. So I opened it up, plugged it in, and tried to find the source of the squealing. It was coming from the power supply, so I gently moved aside some cords, and sparks started flying. So I unplug the power quick, and open up the power block to see the circuit board, and there's some fried resistors and a couple other things I didn't recognize (I'm a CS major, not EE). So my plan was to get an identical power supply circuit board, and one by one take out the wires that were soldered to the old power supply and put them on the new on in the same spot (I know how to solder). My questions are these:
Should this cause any problems I'm not realizing?
How can i figure out what the exact model power supply I have?
I have pics if needed.