Cags
Contributor
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.