views:

190

answers:

2

Does anyone know how to stop Visual Studio from automatically refreshing the Design view everytime I modify the source file associated with a Form?

I'm updating strings on a form that has about a million controls. I'm constantly going back and forth between the design and code for a form. The load time it takes to render the design each time is killing me. I'm not changing anything that would directly affect the design view, so is there a way to stop it updating every time?

+3  A: 

No there is not. This is the default behavior and it cannot be changed. The design view when focused will always try to update with the latest version of the source. If it has changed the design view will too. This is necessary to ensure that any changes which occur to the UI reflect changes on the current state of the source code.

JaredPar
Darn, I'm flipping back and forth a lot, and everytime the design takes about 5 seconds to load. Which is not horrible, but I need to finish a work assignment tonight that will probably require me to flip back and forth about 300 times. :(
Nick
Perhaps get a faster computer? Seems strange that a form would take that long to render, even in design view.
Soviut
@Soviut, I wouldn't put much past this machine. It's running a core2duo, 2gig of ram, but it's had the same install of windows XP on it for over 2 years. 2 YEARS!!! I'm impressed it's still somewhat usable.
Nick
A: 

Most programmer don't use Design View and prefer Source View. Well I would also recommend you to use Source View, It's been 2 years I stopped using it. Instead when I want to see changes, I press on the View In Browser button.

Edit

This recommendation would be valid if you are using Asp.NET. If not, I can't say the same thing.

Braveyard
"Most programmer's don't use design view"???? The current form that is giving me troubles has close to 300 controls on it. How in the heck are you suppose to get those all laid out just perfectly from source view alone??? Is that really done?
Nick
Please consider this topic as well : http://tinyurl.com/ylz6dav
Braveyard
P.s : There are some convenient ways to track all the codes in `Source View` : Bookmarks, Comments and "Find" button :)
Braveyard
@Aaron - I might add that this is a WinForms project. Not sure if that changes your suggestion.
Nick
@Nick, I was thinking that you meant Asp.NET. When I heard Forms,This,That automatically I start thinking on Asp.NET :) Maybe because I am a Web Developer. Sorry about that. Well then things can change.
Braveyard
I don't know who gave down vote but it's kinda rude to a person who wanted to help.
Braveyard