- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
private void cmd_Click(object sender, MouseEventArgs e)
{
for (int y = 0; y < matrixHeight; y++)
{
for (int x = 0; x < matrixWidth; x++)
{
if (cmd[x, y].GetHashCode() == sender.GetHashCode())
{
//your code here
}
}
}
}
guest 14.09.2012 19:13 # −1
govnomonad 15.09.2012 10:14 # +1