Dim icon As New System.Windows.Forms.PictureBox() With icon .BackColor = Color.Transparent .Enabled = True .Visible = True .Size = New Point(40, 40) .Image = PictureBox1.Image .SizeMode = PictureBoxSizeMode.StretchImage .Location = New Point(680, 12) End With Desktop.Controls.Add(icon) Me.Hide()
with this i create a new picture box in the form; the problem is: how i can program the click event of the new picture box? i really need to know
please answer, thanks


Sign In
Create Account


Back to top










