Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Private ss As Image = My.Resources.spaceship 'create an image and set it = to resources image
- Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
- PictureBox1.Image = ss 'set the picturebox's image to the image we just made
- If PictureBox1.Image Is ss Then 'if the picturebox image is the spaceship then...
- MessageBox.Show("working") 'shows it works!
- End If
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement