Example #1
0
 public void StartBytesDownload(string fileName, Byte[] argBytes)
 {
     fdw = new FileDownloadGateway();
     this.lblFilename.Text  = fileName;
     this.lblTarget.Text    = "";
     fdw.downloadedHandler += new FileDownloadGateway.fileDownloadedHandler(fdw_downloadedHandler);
     fdw.Filename           = fileName;
     fdw.StartBytesDownload(this, argBytes);
 }
Example #2
0
 public void StartFileDownload(string argFilePath)
 {
     fdw = new FileDownloadGateway();
     fdw.downloadedHandler += new FileDownloadGateway.fileDownloadedHandler(fdw_downloadedHandler);
     fdw.StartFileDownload(this, argFilePath);
 }