|
-
Jun 11th, 2009, 02:31 PM
#1
Thread Starter
New Member
Me.BackgroundImage Statement
Hi there, I'll explain this briefly as I need to be sure pretty quickly... basically, I'm developing a game. after the user gets 5 points, an alert box comes up saying "proceed to next level"... on the next (second level) I want the background image to change....
Now the default background is not a picturebox, it's actually part of System.Drawing.Bitmap
I am using the same form throughout the entire game, so when it says "Proceed to next level" the game stays on the same form... Here's my Select Case statement to tell it to change the background image:
Code:
Select level
Case 2
Me.BackgroundImage =
End Select
What comes after the =
I have incorporated the image as a resource, but what do I put after the = ?
I have tried putting the image file directory but I get errors that require debugging...
Look forward to your responses, and thank you in advance!...
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
|