I have a class that inherits from the component class
this componet can be placed in a form and it appear in the component tray of the form
Public MyClass
inherits system.componentmodel.component
public Value as string = ""
end class
When I place this component in the form, a name is assigned to the component, I also can change the name of the component at design-time in the property grid.
But in code this component does not have a Name property, so I added one, but how can i keep the component name syncronized with the name property i add.
At design time i can use the component Site.Name property to get the name, but at run-time the site property is nothing.
Any ideas?