I have installed a 120mm fan in the windowed side panel of my CM690 II Advanced case and I am always removing that side panel to fiddle with or swap out some internal part. What is the best method any of you have found to install the wiring for a door fan that allows you to remove the side panel without ripping the wiring out of the fan header.

I seem to remember seeing somewhere a setup where the fan electrical contact was made up of one part mounted on the door and the other part fixed on the case at the panel/case junction so when the door was in place the electrical connection was completed and broken when the panel was removed, but I can't seem to find any reference to it anywhere online. I hope that description is clear enough to explain what I'm talking about. Any help would be greatly appreciated.