In my Parent Form code I want to reference a controls that is in the User Control.
Example
In UC I have a Label control called "Label"
I would like to simply reference that label in my Form code like this
UC1.Label.Caption = "Text"
or
UserControl.Label.Caption = "Text"
However, then name doesn't appear in the properties of UC1 nor does it appear in the properties of UserControl
Example
In UC I have a Label control called "Label"
I would like to simply reference that label in my Form code like this
UC1.Label.Caption = "Text"
or
UserControl.Label.Caption = "Text"
However, then name doesn't appear in the properties of UC1 nor does it appear in the properties of UserControl