title: WPF .GetElementById()
body: <p>Im programming in WPF (C#) in VS2012</p>
  
  <p>I tried to use this:</p>
  
  <p><a href="https://stackoverflow.com/questions/11271737/how-do-you-click-a-button-in-a-webbrowser-control-in-c">How do you click a button in a webbrowser control?</a></p>
  
  <p>To click button on webbrowser but</p>
  
  <ol>
  <li><p><code>.GetElementById</code> gives me an error.</p>
  
  <p>I add: <code>using System.Windows.Forms;</code> and assembly them, but it don't change anything for me.</p></li>
  <li><p>I think im gonna have a problem with this as well: <code>.InvokeMember("click");</code></p></li>
  </ol>
  
  <p>All I've found on the web is that:</p>
  
  <p><a href="http://www.telerik.com/help/wpf/m_telerik_windows_documents_formatproviders_html_parsing_dom_idocument_getelementbyid.html" rel="nofollow noreferrer">http://www.telerik.com/help/wpf/m_telerik_windows_documents_formatproviders_html_parsing_dom_idocument_getelementbyid.html</a></p>
  
  <p>But I don't know exactly how i can assembly that to VS2012, bcus there are no build in API references in VS2012.</p>