Hello,
I have created a custom component that i want to use in the designer.
Up till now i am able to let the designer generate the code-behind code
to declare and initialize objects from myComponent class.
Unfortunately the object declaration is declared as being Private. I'd
like to have the code generator generate the object declarateion as
being Protected.
Can somebody explain to me how that is done. My component is defined as
follows:
<TypeConverter(GetType(MyComponentTypeConverter)),
DesignerCategoryAttribute("code"), ToolboxItem(True),
DesignTimeVisible(True)> _
public Class MyComponent
Inherits Component
Implements ICustomTypeDescriptor
...
End Class