pooja thorat

pooja thorat

  • NA
  • 16
  • 9.2k

how to change forecolor of multiple labels using for loop

Jun 17 2013 8:06 AM
how to change forecolor of multiple labels using forloop in windows form application
i done this way
for (i = 1; i <= 7; i++)
                {
                    for (int j = 1; j <= 5; j++)
                    {
                        lbl.BackColor = Color.Red;

                    }
                }
but it not work....

Answers (1)