hi to all

I made a lot of textboxes in my usercontrol. Now I used it in another forms. how can I know the name of each textboxes since it is formed as one control.

thanks in advance

Hi, Change the Modifier of TextBoxes to Public in the User Control. Or Make Appropriate Properties to Access the Textbox for example
In usercontrol

Public ReadOnly Property MyTextBox1() As TextBox
            Return TextBox1
        End Get
    End Property

Then Usercontrol1.MyTextBox1.Text = "Something"