fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. namespace WindowsFormsApplication1
  11. {
  12. public partial class Form1 : Form
  13. {
  14. public Form1()
  15. {
  16. InitializeComponent();
  17. }
  18. string picurl = "http://w...content-available-to-author-only...n.com/www.engadget.com/media/2007/06/jobs.jpg";
  19. private void Form1_Load(object sender, EventArgs e)
  20. {
  21. webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(webBrowser1_DocumentCompleted);
  22. webBrowser1.Navigate(picurl);
  23. }
  24.  
  25. void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
  26. {
  27. if (e.Url.ToString() == picurl)
  28. {
  29. webBrowser1.Document.Body.Style += "margin-top: 0;margin-left: 0;margin-right: 0;margin-bottom: 0;";
  30. }
  31. }
  32. }
  33. }
  34.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty