title: C# DataGridView is not updating with DataTable
body: <p>i have a DataTable with some data and i bind it with my DataGridView with this code:</p>
  
  <pre><code>dataGridView1.DataSource = Measures.Table;
  </code></pre>
  
  <p>In separate thread i read data from connected device and insert that into my DataTable with this code:</p>
  
  <pre><code>DataRow row = table.NewRow();
  row[ "Time" ] = dt;
  foreach ( var kvp in measures )
      row[ kvp.Key ] = kvp.Value;
  table.Rows.Add( row );
  </code></pre>
  
  <p>On my Form I am able to change it's main control with a button. Both controls are UserControl, of which one consists the dataGridView1 DataGridView. When I add a row to my DataTable, my DataGridView does not update, until I switch to the other control, and move back to the one with DGV.</p>
  
  <p>I have read some solutions on stack, which basically tell me that i should use BindingSource, but this code:</p>
  
  <pre><code>BindingSource source = new BindingSource();
  source.DataSource = Measures.Table;
  dataGridView1.DataSource = source;
  </code></pre>
  
  <p>does not work as well.</p>
  
  <p>I don't know why this happens, because I have also created a simple app with just DGV and DataTable updated with Timer.Tick event and it works there. Anyone knows any reason why this DGV is not updating itself? It updates itself only when forced to redraw (with switching controls or just form resize)</p>