P
Peter
Hello.
I'v got one problem.
On formular I have 2 Picturebox.
I write this code:
Private Sub PictureBox1_MouseDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown
PictureBox1.BackColor = System.Drawing.Color.Cyan
End Sub
Private Sub PictureBox2_MouseMove(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseMove
PictureBox2.BackColor = System.Drawing.Color.Cyan
End Sub
I want ,that when I click with mouse on picturebox1, this picturebox1 change
color, and When I move with mouse cursor over picturebox2 BUT STILL I HAVE
MOUSEDOWN, Picturebox2 change color,.
Thanks.
I'v got one problem.
On formular I have 2 Picturebox.
I write this code:
Private Sub PictureBox1_MouseDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown
PictureBox1.BackColor = System.Drawing.Color.Cyan
End Sub
Private Sub PictureBox2_MouseMove(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseMove
PictureBox2.BackColor = System.Drawing.Color.Cyan
End Sub
I want ,that when I click with mouse on picturebox1, this picturebox1 change
color, and When I move with mouse cursor over picturebox2 BUT STILL I HAVE
MOUSEDOWN, Picturebox2 change color,.
Thanks.