我有10個標籤命名爲lbl1
,lbl2
... lbl10
VB.NET動態使用形式的控制
我想改變自己的正當性(使用cicle)與cicle指數
for i as integer=1 to 10 step 1
lbl (i) = PROPRETY 'I know this is wrong but it's what I would do...
end for
我使用的是解決辦法,但我在尋找一個更好的辦法..
Dim exm(10) As Label
exm(1)=lbl1
exm(2)=lbl2
...
exm(10)=lbl10
for i as integer=1 to 10 step 1
exm (i) = PROPRETY
end for
你想瀏覽表單上的所有標籤嗎?或者這些10種標籤在某種面板上? – 2010-03-07 11:01:23