Example #1
0
        private void newPic_Click(object sender, EventArgs e)
        {
            PictureBox pb  = (PictureBox)sender;
            MapPoint   mp  = (MapPoint)pb.Tag;
            var        frm = new frmPOIDetails(mp);

            frm.StartPosition = FormStartPosition.Manual;
            frm.Location      = new Point(Cursor.Position.X, Cursor.Position.Y);
            frm.ShowDialog(this);
        }
Example #2
0
 private void newPic_Click(object sender, EventArgs e)
 {
     PictureBox pb = (PictureBox)sender;
     MapPoint mp = (MapPoint)pb.Tag;
     var frm = new frmPOIDetails(mp);
     frm.StartPosition = FormStartPosition.Manual;
     frm.Location = new Point(Cursor.Position.X, Cursor.Position.Y);
     frm.ShowDialog(this);
 }