10-10-16, 12:39 PM
الصور موجودة في فورم والفورم تقدر توصل لل Controls الموجودة بداخله ومعرفة خصائصهم بكود معين
dim Count as integer = 0
for each ctrl in me.controls.
if typeof ctrl is PictureBox then
if ctrl.visible = false then
count += 1
end if
end if
next
dim Count as integer = 0
for each ctrl in me.controls.
if typeof ctrl is PictureBox then
if ctrl.visible = false then
count += 1
end if
end if
next
