示例#1
0
 protected void OnNextFile(string deviceName, string fileName, int size)
 {
     if (NextFile != null)
     {
         TransferFileEventArgs args = new TransferFileEventArgs(deviceName, fileName, size);
         NextFile(this, args);
     }
 }
示例#2
0
 private void saveTransferrer_NextFile(object sender, Util.TransferFileEventArgs e)
 {
     lblDeviceName.Text = e.DeviceName;
     lblFileName.Text   = e.FileName;
     UpdateProgress(0, e.SizeInBytes);
 }