I think the easiest way is to loop over the Controls from the flowLayoutPanel1 and then check the name of the control.
Something like this:
foreach (Control control in flowLayoutPanel1.Controls)
{
if (control is MaskedTextBox)
{
MaskedTextBox mskInput = (MaskedTextBox)control;
MessageBox.Show(string.Format("Name: {0} - Value: {1}", mskInput.Name, mskInput.Text));
}
}
Greetz,
Geert
http://geertverhoeven.blogspot.com