Drag a UserControl

  • Thread starter Thread starter Arne Garvander
  • Start date Start date
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?
 
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
 
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.
 
Back
Top