Click here to Skip to main content
15,897,518 members

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!