Have you tried this in C# ?, maybe its a bug
--
OHM ( Terry Burns )
. . . One-Handed-Man . . .
Time flies when you don't know what you're doing
"BluDog" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> >"IComponentChangeService" could help you (ce.OldName / ce.NewName)
> >(have a look at my reply to "Re: How to get a usercontrol to
automatically add code to the initialization code in a form...")
> >
> >"Reflection" could also be an option.
> >(have a look at my reply to "Re: Reflection...")
>
> Thanks, the thing that interests me about this problem is the fact
> that when the custom control is added to the form the automatic name
> (e.g. MyControl1) is added correctly, as with any other form, however
> the Name property of the control returns the Type Name rather than the
> control instance name...
>
> Cheers
>
> Blu
|