for (int i=0;i<this.Controls[1].Controls.Count;i++)
{
if (this.Controls[1].Controls[i] is TextBox)
{
this.Controls[1].Controls[i].Visible = false;
}
}
{
if (this.Controls[1].Controls[i] is TextBox)
{
this.Controls[1].Controls[i].Visible = false;
}
}