コード例 #1
0
 /// <summary>
 /// Updates the web browser with the asynchronously loaded changelog from the server.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The arguments containing the HTML from the server.</param>
 private void OnChangelogDownloadFinished(object sender, ChangelogDownloadFinishedEventArgs e)
 {
     //Take the resulting HTML string from the changelog download and send it to the changelog browser
     Application.Invoke(delegate
     {
         Browser.LoadHTML(e.HTML, e.URL);
     });
 }