title: Windows Forms Webbrowser Full history
body: <p>I just want to show the full History of a <code>WinForms.Webbrowser</code>,
  I know how to navigate forward and backward with</p>
  
  <pre><code>webBrowser1.Document.Window.History.Go/Back/Forward(1)
  </code></pre>
  
  <p>I just want to know how to visualize the History object, e.g in a DataGridView </p>
  
  <pre><code>DataGridView dgvChronic = new DataGridView();
  dgvChronic.DataSource = webBrowser1.Document.Window.History;
  </code></pre>
  
  <p>but this doesn't work :/</p>
  
  <p>I want to do something like this (pseudocode):</p>
  
  <pre><code>foreach (Link lk in webBrowser1.Document.Window.History)
  {
      dgvChronic.Rows.Add(lk, "blabla");
  }
  </code></pre>
  
  <p>My Solution:</p>
  
  <pre><code>private List&lt;object&gt; chronic = new List&lt;object&gt;();
  
      private void webBrowser1_Navigated(object sender, WebBrowserNavigatedEventArgs e)
      {
      //Chronic hier erstellen
      if (tsURL.Text != webBrowser1.Url.ToString())
      {
          tsURL.Text = webBrowser1.Url.ToString();
          List&lt;string&gt; website = new List&lt;string&gt;();
          website.Add(DateTime.Now.ToString());
          website.Add(tsURL.Text);
          chronic.Add(website);
      }
      }
  </code></pre>
  
  <p>Then to visualize the History:</p>
  
  <pre><code>foreach (List&lt;string&gt; website in chronic)
  {
      dgvChronic.Rows.Add(website[0], website[1]);
  }
  </code></pre>
  
  <p>ill mark trippinos Answer as accepted because its almost the same (i haven't tested it but it looks like it will work, too)</p>