Class inheriting Control becomes Component

Cags

Contributor
Joined
Feb 19, 2004
Messages
695
Location
Melton Mowbray, England
Whenever I make a class that inherits from Control it changes the icon of the file in the Solution Explorer to that of a component. But a sample application I downloaded from CodeProject is inherited from Control without the icon changing. At times I'm abit of an 'obsessive compulsive' so the icon being different does bug me. It is the fact that its behavior is then differnt tha really bugs me though. Double clicking on the item brings up the design window which I don't want. Can anybody explain a.) how I stop this behavior and b.) why the class from the sample project doesn't do it.
 
I figured out the sample project is for the .Net Compact Framework which is why the behaviour is different. Obviously the CF cannot use components in the same manner so the VS alters behaviour accordingly. If at all possible I'd like to make my Visual Studio act the same for my full framework applications, is there an option for this?

BTW. Occured to me I should have mentioned I'm using VS 2003.
 
Back
Top