"rino" <ri**@discussions.microsoft.comwrote in message
news:94**********************************@microsof t.com...
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.