I think I see where you are going with this.
P1 and P2 are your DPDT switch.
- When P1 is high and P2 is low, the output is controlled by the Netduino.
- When P2 is high and P1 is low, the output is forced on.
- When P1 and P2 are low, the output is forced off.
I think what you need is actually three position toggle switch.
Maplin (in the UK) has a range of
toggle switches following the link, type B or C is probably what you want.
The switch has three terminals the centre is the common, the other two are normally open contacts.
- With the type B the switch latches in either direction. When it is the centre position neither contact is made. "ON-OFF-ON Locking both, ways, centre off"
- With the type C the switch will not latch in one of the directions. "ON-OFF-(ON) Locking one way, non-locking one way, centre off" You might want the non-locking feature so that you have to hold it to keep it forced on, but you don't have to hold it to keep it forced off or set for Netduino control.
Wiring it up would be simple, connect the centre terminal to 5V.
Connect each of the outer terminals to an input (P1 and P2 in your post above - B and C in my table).
Also connect each terminal to a resistor that connects to ground. (About 4K7 "4700ohms").
When the switch is in the middle position neither switch terminal is live, and so both P1 and P2 inputs are pulled low by their resistors.
When the switch moves in either direction, P1 or P2 will be pulled high by the switch.
Hope I got that right.