Class inheriting Control becomes Component

Cags

Well-known member
Joined
Feb 19, 2004
Messages
690
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 Im 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 dont want. Can anybody explain a.) how I stop this behavior and b.) why the class from the sample project doesnt 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 Id 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 Im using VS 2003.
 
Back
Top