我有九个标签与名称"lbl101","lbl102"...
"lbl101"
"lbl102"
我想做这个:
for (int i = 0; i < 9; i++) { sting name = "lbl10" + i; name.BackColor = Color.Red; }
我怎样才能做到这一点?
c# forms label winforms
c# ×1
forms ×1
label ×1
winforms ×1