E
Eric
I have a custom component that can be dragged from the ToolBox onto a
Windows Form (which means I can't modify it's constructor to add a name
parameter). VS assigns it an instance name, but the developer can
modify it's name. The name shows up in the property window as "(name)",
I want to find a way to access that name programatically, so that
instance of the control wil be able to determine it's own name. I have
the source for the control and I can modify it, but I really don't want
to add a new "name" property and make the user enter the same name
again. The user already entered it once, and I want to find a way to
get that. Does anyone have any ideas?
Windows Form (which means I can't modify it's constructor to add a name
parameter). VS assigns it an instance name, but the developer can
modify it's name. The name shows up in the property window as "(name)",
I want to find a way to access that name programatically, so that
instance of the control wil be able to determine it's own name. I have
the source for the control and I can modify it, but I really don't want
to add a new "name" property and make the user enter the same name
again. The user already entered it once, and I want to find a way to
get that. Does anyone have any ideas?