title: Datagrid gets blurred on resizing
body: <p>I'm working with a datagridview within a windows form and I assign it's datasource property for load the grid. I want to change the backcolor of some cells (when column index=0) but
  when i do this and i resize the form i have a problem, the datagrid gets blurred or the cells aren't showed correctly. These pics will explain it better.</p>
  
  <p>Before resize:
  <img src="https://i.stack.imgur.com/pi6Mc.png" alt="enter image description here"></p>
  
  <p>After resize:
  <img src="https://i.stack.imgur.com/fKx2i.png" alt="enter image description here"></p>
  
  <p>Here is my code where i'm trying to format the cells...</p>
  
  <pre><code>private void dg_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
  {
      // Clients color
      if (e.ColumnIndex == 0)
      {
          int currentClient = e.RowIndex % p.AllClients.Count;
          dg.Rows[e.RowIndex].Cells[0].Style.BackColor = Color.FromArgb(p.AllClients[currentClient].Color);              
       } 
  }   
  </code></pre>
  
  <p>Thanks in advance! </p>