Monday, December 5, 2011

VS2010: Tired of form designer always opening

Are you always tired of the forms designer opening everytime you double click on a form to open so now to view the code you have to right click on the file for the context menu and select "View Code".

Here's how to defaultly have forms open in the CSharp Editor and then to view the form in the designer you'll have to right click the file for the context menu and select "View Designer".

Open up a project that has a form in it. Right click on the file for the context menu and select "Open With..." as shown in the image.


Now select "CSharp Editor" from the listbox and select the "Set as Default" button. Press "OK" and your done.


Enjoy!