I have created a collection of pictureboxes like the following:
Dim ImgCollection As New Collection
ImgCollection.Add(imgDealer1)
ImgCollection.Add(imgDealer2)
ImgCollection.Add(imgDealer3)
ImgCollection.Add(imgDealer4)
ImgCollection.Add(imgDealer5)
ImgCollection.Add(imgPlayer1)
ImgCollection.Add(imgPlayer2)
ImgCollection.Add(imgPlayer3)
ImgCollection.Add(imgPlayer4)
ImgCollection.Add(imgPlayer5)
Basically, I want to clear each image box but I can't figure out how to program the code to do so.
Dim ImgCollection As New Collection
ImgCollection.Add(imgDealer1)
ImgCollection.Add(imgDealer2)
ImgCollection.Add(imgDealer3)
ImgCollection.Add(imgDealer4)
ImgCollection.Add(imgDealer5)
ImgCollection.Add(imgPlayer1)
ImgCollection.Add(imgPlayer2)
ImgCollection.Add(imgPlayer3)
ImgCollection.Add(imgPlayer4)
ImgCollection.Add(imgPlayer5)
Basically, I want to clear each image box but I can't figure out how to program the code to do so.