title: .NET Propertygrid refresh trouble
body: <p>Property grid do not show new value of selected object.</p>
  
  <p>For example:</p>
  
  <pre><code>o.val = "1";
  pg.SelectedObject = o;
  o.val = "2";
  pg.Refresh();
  </code></pre>
  
  <p>The property in property grid is still "1";
  It is changing only if you click on this property.</p>
  
  <p>Or like that:</p>
  
  <pre><code>o.val = "1";
  pg.SelectedObject = o;
  o.val = "2";
  pg.SelectedObject = o;
  </code></pre>
  
  <p>but in this case focus will be changed to PropertyGrid.</p>