How to check the color of the cells surrounding any cell in a tableLayoutPanel
<p>I am trying to check the color of the cells surrounding any given cell in a tableLayoutPanel.</p>

<p>Example:</p>

<pre><code>abc
def
ghi
</code></pre>

<p>Assuming e is the given cell. Then I want to check the color of the surrounding cells (b, d, f and h).</p>

<p>I am making a Conway's Game of Life.</p>