Cags
Well-known member
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.