Quantcast
Channel: GMap.NET - Great Maps for Windows Forms & Presentation
Viewing all articles
Browse latest Browse all 3384

New Post: how to set separate marker events in vb.net

$
0
0
Public Sub map_OnMarkerClick(ByVal item As GMap.NET.WindowsForms.GMapMarker, ByVal e As System.Windows.Forms.MouseEventArgs) Handles map.OnMarkerClick
        If item Is camera1 Then
           'do code
        ElseIf item Is camera2 Then
            Dim f2c2 As New Form2
           'do code
        ElseIf item Is camera3 Then
            Dim f2c3 As New Form2
           'do code
        End If
    End Sub
worked for me.

Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>