Help : Open source code when double click in VS2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
Does anyone know how I can change the default dbl click in VS 2005 to open
the source code and not the Resource editor
thanks.
 
Ciaran said:
When you double click on what?

Ciaran O'Donnell

Right click on the file in question and choose Open With... You
should have the choice of the code editor.
 
rino said:
Hi
Does anyone know how I can change the default dbl click in VS 2005 to open
the source code and not the Resource editor
thanks.

Thought it could be done by changing:

<Compile Include="ScrollCanvas.cs">
<SubType>Component</SubType>
</Compile>

to
<Compile Include="ScrollCanvas.cs"/>


But the C# parser finds that I have a class derived from Control, and
immediately changes the file to "component", affecting the icon and menus.
I don't see any option for changing this, but it looks like a bug that a
class that is NOT designable, like:

abstract class MyControl : System.Windows.Forms.Control {}

causes the designer to be activated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top