|
-
Jul 8th, 2010, 06:02 AM
#1
Thread Starter
Junior Member
Check if picture box exisits
I am working on a project "Pacman Game" and I almost did everything except of.
How can I check that the food number is zero?
The food is a picture box.
Thank you.
-
Jul 8th, 2010, 06:12 AM
#2
Re: Check if picture box exisits
vb Code:
this.controls.contains(PicboxFood);
-
Jul 8th, 2010, 07:37 AM
#3
Re: Check if picture box exisits
 Originally Posted by Lightning
vb Code:
this.controls.contains(PicboxFood);
Since this is the VB.NET forum and not the C# forum, that would be:
Code:
Me.Controls.Contains(PicboxFood)
...in VB.
-
Jul 9th, 2010, 12:53 AM
#4
Re: Check if picture box exisits
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|