コード例 #1
0
ファイル: FmBarcode.cs プロジェクト: PowerDD/PowerPOS-Online
 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();
 }
コード例 #2
0
ファイル: UcReturn.cs プロジェクト: PowerDD/PowerPOS-Online
        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();
        }