15,897,518 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 Python 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 Bice90 (Top 4 by date)
Bice90
11-Aug-19 4:58am
View
Thank you very much! This article that you suggested was very useful in understanding the deeper details!
Have a great day!
Bice90
11-Aug-19 4:57am
View
Thank you very much, you can't imagine how much this helped me! It works, as I expected! Seems like I have to dig deeper in this topic about the controls.
Have a great day!
Bice90
19-Feb-18 7:11am
View
Thank you very much! I really appreciate that you went into the details.
Bice90
18-Feb-18 13:02pm
View
Dear OriginalGriff,
Thank you for your quick answer! I think my description was poor a little bit.
So I have this array2D that contains the pixels of the bitmap. I use it to show the picture only.
Then I would like to have several different arrays in the Form1, with the same dimensions but with different data. So when I click on the image, created from the array2D, I can see the coordinates, and therefore I can look up for the corresponding data in the other array, based on the coordinates.
Basically, I am using the array2D to show an intelligible image then I want to print some numbers in a textbox in Form2 when I click on a certain part of the image.
Something like: clicking on the image in Form2 -> getting x,y -> look up the corresponding x,y in some other array in Form1 -> print out the value of somerandomarray[x,y] to a textbox in Form2.
The only thing I cannot get that how to make an array in Form1 visible for the whole Form2?
Thank you!