16,004,782 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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 ... :)