Formda Nereye Tıkladın ?
1 sayfadaki 1 sayfası
Formda Nereye Tıkladın ?
Mouse Down Özelliğine
Private Sub Form1_Mousedown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown
If e.Button = Windows.Forms.MouseButtons.Left Then
Label1.Text = "X =" + CStr(e.X) + " Y=" + CStr(e.Y)
ListBox1.Items.Add(Label1.Text)
End If
End Sub
Private Sub Form1_Mousedown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown
If e.Button = Windows.Forms.MouseButtons.Left Then
Label1.Text = "X =" + CStr(e.X) + " Y=" + CStr(e.Y)
ListBox1.Items.Add(Label1.Text)
End If
End Sub
1 sayfadaki 1 sayfası
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz