foreach(Control control in this.Controls)
if(control is Panel)
foreach(Control ctr in panel.Controls)
if(ctr is Label){
Label label = (Label)ctr;
label.Text="test";
if(control is Panel)
foreach(Control ctr in panel.Controls)
if(ctr is Label){
Label label = (Label)ctr;
label.Text="test";
foreach(Control control in this.Controls)
if(control is Panel)
foreach(Control ctr in control.Controls)
if(ctr is Label){
Label label = (Label)ctr;
label.Text="test";