hi all, i am trying to loop through all textboxes on form with
where am i going wrong?
Thx
Age is a consequence of experience
Code:
foreach (Control thisForm in this.Controls)
{
string test = thisForm.ToString();
if(test == "System.Windows.Forms.TextBox")
{
MessageBox.Show(test);
}
}
where am i going wrong?
Thx
Age is a consequence of experience