title: How to select a perticular cell in table layout and paint with different color
body: <p>I have created a Table layout in windows forms as shown in figure, i have added a right mouse button click Menu to my table, i want to color the cell when i right click on the perticuler cell, so how can i do it.</p>
  
  <p>When i click <code>add device</code> the cell should paint to green color, 
  When i click <code>delete device</code> it should show default color,
  When i click <code>fire</code> the cell should be painted with red color
  so on</p>
  
  <p>The below is my form and table layout</p>
  
  <p><a href="https://i.stack.imgur.com/Jwx30.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jwx30.jpg" alt="http://i48.tinypic.com/33ok3cw.jpg"></a>
  </p>