//updateAliveNeighboursNum public void updateAliveNeighboursNum(ILifeCell cell) { if (cell.IsAlive) { this.NeighborsAliveNum++; } else { this.neighborsAliveNum--; } }
// public void PaintOnChangeDelegate(ILifeCell cell) { Graphics graphics = CreateGraphics(); PaintCell(graphics, cell.X, cell.Y); }