Drag a UserControl

A

Arne Garvander

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?
 
M

Mike Powell

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
 
H

Herfried K. Wagner [MVP]

Arne Garvander said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top