Answer the question
In order to leave comments, you need to log in
How in Visual Basic select all textbox etc.?
How to highlight all textbox in windows form? And here, for example, you type text into the textbox after pressing enter or moving to another field, a checkmark is displayed, how to write it in one line, otherwise you don’t want to write like this:
textbox1 = picturebox1.visible = true
textbox2 = picturebox2.visible = true
.. .textbox
(i++) = picturebox(i++).visible = true
Answer the question
In order to leave comments, you need to log in
Example:
var textBox = this.Controls["textBox1"] as TextBox; // где textBox1 - это свойство Name текстбокса
textBox.Hide();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question