void PrintNumbers(byte[,] table) { for (byte x = 0; x < fieldSizeX; x++) { for (byte y = 0; y < fieldSizeY; y++) { Command_PrintInterfaceCell?.Invoke(x, y, table[x, y].ToString()); } } }
void EraseNumbers() { for (byte x = 0; x < fieldSizeX; x++) { for (byte y = 0; y < fieldSizeY; y++) { Command_PrintInterfaceCell?.Invoke(x, y, string.Empty); } } }