I am currently working with visible attributes on textboxes. Below I copy pasted a snippet of my code. I have several textboxes in my form. It is going to become very tedious trying to write it as I have below for all the textboxes. Is there a way to compress my code to a few lines to make the textboxes visible?
public void makeVisible()
{
textBox1.Visible = true;
textBox2.Visible = true;
textBox3.Visible = true;
textBox4.Visible = true;
//etc.
}
Try this:
For limited textboxes:
You can set
txtBoxVisibleaccording to your need.