Rick,
you can apply the System.ComponentModel.DesignerCategoryAttribute to the
class with a value of "code" like this (C# syntax):
[System.ComponentModel.DesignerCategory("code")]
Regards
Henrik
> Is there a way to have a Class that inherits from a control not show the
> designer when double-clicked, but just show the code window? The class
[quoted text clipped - 3 lines]
>
> Rick
Rick Mogstad - 21 Apr 2005 14:45 GMT
Thanks. This does seem to work well, but in VB it seems that you have to
delete the .resx file, or it still goes into design mode sometimes. Its
kind of sporadic when it does it, but without the .resx, it seems to be
working well.
Thanks again.
Rick
> Rick,
>
[quoted text clipped - 12 lines]
>>
>> Rick
joeycalisay - 22 Apr 2005 04:04 GMT
I couldn't see any Code Category for DesignerCategory in the
documentation....

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> Rick,
>
[quoted text clipped - 12 lines]
> >
> > Rick
Rick Mogstad - 29 Apr 2005 16:07 GMT
Thats because it isnt in there.
>I couldn't see any Code Category for DesignerCategory in the
> documentation....
[quoted text clipped - 18 lines]
>> >
>> > Rick