میتونی ارجاعی از کنترلهای مورد نظر رو در یک لیست داشته باشی تا بتونی راحت تر باهاش کار کنی.
List<CheckBox> lstChb;
int counter;
private void button1_Click(object sender, EventArgs e)
{
lstChb = new List<CheckBox>();
foreach (Control c in this.Controls)
{
if (c is CheckBox)
{
CheckBox chb = c as CheckBox;
lstChb.Add(chb);
}
}
timer1.Interval = 1000;
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
if (counter < lstChb.Count)
{
lstChb[counter].Checked = true;
counter++;
}
else
{
timer1.Stop();
}
}