Just google "visual studio disable auto format." The first hit most likely provides exactly what you want.
https://stackoverflow.com/questions/737222/turn-off-auto-for...
You won't get much more help unless you describe what you've tried and why it didn't work for you. As far as I can tell the settings you're looking for aren't very hidden.