private void btnNew_Click(object sender, EventArgs e) { ScannerHelper.SaveFiles("DTS", new StaticSettings().Offices.OffcAcr, refId, "Document-Files", User.UserId, web => { web.UploadProgressChanged += (wE, sE) => { tsDownloading.Text = $"Uploading: {sE.ProgressPercentage} %"; tsProgress.Value = (sE.ProgressPercentage); }; }); this.Init(); }