posted 02-22-2008 11:51 AM
I'll make this answer a Tutorial:Designer Freeze 101:
By default the Designer freezes when you generate code and your code editor displays. This is the prefered method, since I can't guarantee the results of reentering a code editor, by regenerating code, when it is left open will have. You have to understand that users will be using a variety of code editors, so I don't know what will happen if they do this.
This is why the default is to freeze the Designer until you exit the code editor.
That said, you can change this behaviour and its quite simple.
In the Project Properties dialog you will notice the property:
"Shell: Suspend Designer"
Simply by setting this property to "0 - No" you can turn off this default behavior.
But beware!
Test out your code editor with a test project and experiment and see what happens when you regenerate code while the source code is still loaded in the code editor.
As long as you understand any risks of turning off this property, then feel free to do so.