Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
- Label1.Parent = PictureBox1
- Label2.Parent = PictureBox1
- Label3.Parent = PictureBox1
- Label4.Parent = PictureBox1
- Label1.BackColor = Color.Transparent
- Label2.BackColor = Color.Transparent
- Label3.BackColor = Color.Transparent
- Label4.BackColor = Color.Transparent
- End Sub
- Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
- lblParte.Text = "Monitor"
- End Sub
- Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click
- lblParte.Text = "CPU"
- End Sub
- Private Sub Label3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label3.Click
- lblParte.Text = "Teclado"
- End Sub
- Private Sub Label4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label4.Click
- lblParte.Text = "Mouse"
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement