示例#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;
     }
 }
示例#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);
     }
 }