Hi
i have a button array of [8,8]. know i want that when i press a button, i get the location of the button in the array, not which button is pressed but the location.I used the sender to do a tempbutton and therefore change the text of that particular button but i want its location....
(the array is buttarr[8,8])
ex: buttarr[1,2] was pressed
can someone help
Thanks
User Profile
Collapse
-
how to know the location of a button in a button array
-
managing different loops in different events
i have this code:
...Code:private void mouseclicks(object sender, EventArgs e) { int clicks = 0; clicks++; if (clicks % 2 == 0) { label5.Text = "Player One's Turn"; } else label5.Text
No activity results to display
Show More