I've noticed in Visual Studio (definitely 2005, I can't say for other versions), if I click on something no topmost in z-order (either in another pane of the interface, as when I have the window split, or when another program had focus), VS thinks I made a double-click instead of a single-click. This is very annoying in the case of having 2 form designer panes open, as if I click on the second form to focus it, it pops open the code window with an On_Load event handler I didn't intend to ask for.
Has anyone else seen this, and more importantly, does anyone have a workaround?