I defined a ContainerControl named ContainerControl1 with one label (Label1).
I try to add ContainerControl1 to a window (MyWindow) with the following instructions:
Dim MyWindow as new Window
ContainerControl1.EmbedWithin(MyWindow,0,100)
MyWindow.Visible = True
I get a compilation error: “There is more than one item with this name and it’s not clear to which this refers” on the second statement (ContainerControl1.EmbedWithin(MyWindow,0,100))
I don’t understand what is wrong with this…