Ejemplo n.º 1
0
 private void gmap_OnMarkerEnter(GMapMarker item)
 {
     if (item.Tag.GetType() == typeof(Photo.PhotoInfo))
     {
         Photo.PhotoInfo photo = (Photo.PhotoInfo)item.Tag;
         pictureBoxSelected.ImageLocation = photo.Path;
     }
 }
Ejemplo n.º 2
0
 private void gmap_OnMarkerClick(GMapMarker item, MouseEventArgs e)
 {
     // Photo.PhotoInfo photo
     if (item.Tag.GetType() == typeof(Photo.PhotoInfo))
     {
         Photo.PhotoInfo photo = (Photo.PhotoInfo)item.Tag;
         //MessageBox.Show(this, photo.Path);
     }
 }