Example #1
0
 private void DownloadImage(string url, string savePath, string fileName)
 {
     ptbProduct.ImageLocation = url;
     DownloadImage d = new DownloadImage();
     Thread thread = new Thread(() => d.Download(url, savePath, fileName));
     thread.Start();
 }
Example #2
0
        private void DownloadImage(string url, string savePath, string fileName)
        {
            ptbProduct.ImageLocation = url;
            DownloadImage d      = new DownloadImage();
            Thread        thread = new Thread(() => d.Download(url, savePath, fileName));

            thread.Start();
        }