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