0

Hello :)
for a chess program, i made a 8x8 array of square:PictureBox objects
and i set variables inside them for the row & col
there is a way to dont use those row & col variables and just "take" the index of the
square from the 8x8 array when i need the location of it?
for example when i click on it and i have the square as (sender as Square) there is a way to know where its loacation inside the array?

thanks in advance!

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by galhajaj
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.