In UserControl there is a Textbox, there is a text in it. This text needs to be transferred to another TextBox in a new form.
From another class I try to show text from TextBox (which is in UserControl)
In UserControl in the field TextBox'a put Public access (so that you can get out of the form to TextBox'a)
MyUserControl PC = new MyUserControl(); TextBox.Text = PC.NameTextBox.Text); But the text is not shown.
How to output text from UserControl to a TextBox of another form?
UserControladded to the form (or where is it displayed)? - default localeMyUserControl PC = new MyUserControl();and read data from it:PC.NameTextBox.Text- Luser