Click here to Skip to main content
15,899,825 members

Comments by David LNTA (Top 5 by date)

David LNTA 19-Jun-13 2:29am View    
Yup got it Sergey Alexandrovich Kryukov, i studied and decided to change all my design and make a new application. Thanks so much :)
David LNTA 18-Jun-13 17:20pm View    
I will use only one big picturebox and a panel so that the whole thing can be drag-able and pan-able. The small picturebox's (called pins for my application) containing are location and needs to be clickable. i can draw that on the big picturebox. But the problem would be how to make drawn circles click-able and reposition-able with the mouse?
David LNTA 18-Jun-13 16:59pm View    
Thanks Sergey Alexandrovich

I am no expert but i was afraid the solution would recommend leaving the pictureboxes and work solely on GDI+ and seems like it needs to.

I have gone through some of your solution that you gave while i started the project months ago and in fact i bookmarked them finding it very informative and helpful.

Initially the project was just to plot the small circles on a big picturebox with an image of a big map inside a panel (so that users can pan the map dragging). The small circle represents a location and when double clicked on, it displayed information of the location from a db source. Since i am a novice developer i use multiple picturebox assigning handler and deployed the application. (and yes, the application was heavy and memory hog :D )

Now to use your suggestion/solution i need to know (if possible) how to assign handlers to a painted location (co-ordinate) on a picturebox. A small code snipped if i am not asking too much :D
David LNTA 18-Jun-13 15:53pm View    
Thanks for the quick reply Ron Beyer

I did your solution previously but my client wants it to exactly make the line point to the circumference of the small boxes (but accurately align with the center of the small picturebox). I drew the line on top of it and the line arrow anchor overlap the small picture box pointing exactly at the center, my client didnt want it.

In simple words the line must touch the circle (picturebox image) only at the circumference. Additionally i cannot paint the small picturebox on the big one because i have to assign event handlers for other purpose.
David LNTA 18-Jun-13 15:00pm View    
oh! thank you. Waiting ... :)