I have made a user control that is full labels.
How do I drag this control unto a form? I envision a windows form with about
three user controls, each user control has 5-10 labels.
User controls works great in ASP.Net, but seems less flexible on a windows
form.
What am I doing wrong?

Signature
Arne Garvander
Certified Geek
Professional Data Dude
Mike Powell - 10 Jan 2008 16:09 GMT
Hi Arne,
To drag your control onto a form you need to add it to the toolbox (right
click on toolbox, choose items, browse then point to your dll).
Just out of interest why create a control that is a series of labels, and
how do you fill them with data (this can affect performance)?
Mike Powell
Ramuseco ltd .Net Consulting
>I have made a user control that is full labels.
> How do I drag this control unto a form? I envision a windows form with
[quoted text clipped - 3 lines]
> form.
> What am I doing wrong?
Herfried K. Wagner [MVP] - 11 Jan 2008 01:16 GMT
"Arne Garvander" <ArneGarvander@discussions.microsoft.com> schrieb:
>I have made a user control that is full labels.
> How do I drag this control unto a form? I envision a windows form with
> about
> three user controls, each user control has 5-10 labels.
The user control should be available after compiling in the first category
of the toolbox.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>