Inconnu_nom
New member
- Joined
- Jan 18, 2005
- Messages
- 2
- Programming Experience
- 1-3
How do I make a control array out of a bunch of picture boxes?
this is my code:
If picPerson.Top > (PictureBox2.Top - picPerson.Height) Then
If snggrav >= 0 Then
snggrav = 0
End If
End If
but I need it to apply to something like picPerson.Top > (PictureBox(0-50).Top - picPerson.Height)
I know it is easy in vb6 because you just name the picture boxes the same. But I am completely lost in .Net
this is my code:
If picPerson.Top > (PictureBox2.Top - picPerson.Height) Then
If snggrav >= 0 Then
snggrav = 0
End If
End If
but I need it to apply to something like picPerson.Top > (PictureBox(0-50).Top - picPerson.Height)
I know it is easy in vb6 because you just name the picture boxes the same. But I am completely lost in .Net