View Code instead of View Designer on doubleclick in Solution Explorer

  • Thread starter Thread starter DraguVaso
  • Start date Start date
D

DraguVaso

Hi,

When you double click on a form in the Solution Explorer, it will show that
form in the Designe Mode. Is there a way to change this, so it will switcvh
to the 'Code Mode'?

Is this possible or not?

thanks a lot!

Pieter
 
I don't you can change double click to take you to the
code view. But you can configure the double click to take
you to either the HTML View or the Designer View:

In Visual Studio, select Tools->Options from the menu bar.
Select the HTML Designer tab.
Here you choose to either start in see HTML or Designer
view.

To go directly to the code you can right-click the file in
the Solution Explorer and then select "View Code" from the
floating menu.

Jon Paugh
 
If you want to go to code mode by default, do the following:

1) Right click on the form
2) Choose "Open With"
3) Select "Csharp editor"
4) Choose "set as default"

--
Eric Gunnerson

Visit the C# product team at http://www.csharp.net
Eric's blog is at http://weblogs.asp.net/ericgu/

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top