public void SetImage(string img_url) { CookieAwareWebClient wc = new CookieAwareWebClient(); wc.m_container = cc; Image i = Utils.GetImageFromBytes(Comm.DecompressBytes(wc.DownloadData(img_url))); Utils.FitImageNicely(ref this.picCAPTCHA, i); }
public void SetImage(string img_url) { CookieAwareWebClient wc = new CookieAwareWebClient(); wc.m_container = cc; Image i = Utils.GetImageFromBytes(Comm.DecompressBytes(wc.DownloadData(img_url))); Utils.FitImageNicely(ref this.picCAPTCHA, i); }