Yes that works fine. But what I actually have is a control that I'm working
on that derives from a panel class. I add a label control to my derived
control and save that as a dll assembly.
I then start a new project and add my new control to the form. It's then
that I can't get the label to show up. If I add a label in my new project to
my control, it shows up fine but the one I added before doesn't show.
What I'm trying to do is create a control that has some Cells in a grid. I
add a text box and a label and then save it as user control assembly.dll.
I then start my new project and add an instance of my new control to a form.
The textbox shows up fine but the label won't show nor will a combo box,
listbox, button, etc. Only the text box shows up. The controls are there
becuse I can reference them in my control but no matter what I do, they
aren't visible.
Sorry if this is confusing. It's just that I'm getting frustrated with VS
not doing what it should do easily.
"Cor Ligthert" wrote:
Dennis,
I have selected an item usercontrol
Draged on that a panel docked it.
Draged "on" that a label
Build the solution
Set that usercontrol on a form
Debug
And than I see "Label1"
I hope this helps somehow?
Cor