コード例 #1
0
 void m_ftp_OnFtpPercentDone(object sender, Chilkat.PercentDoneEventArgs args)
 {
     // We need to update progress bars from the BackgroundWorker's
     // event callback.
     m_bgWorker.ReportProgress(args.PercentDone);
     args.Abort = m_abort;
 }
コード例 #2
0
 async private void Http_PercentDone(object sender, Chilkat.PercentDoneEventArgs eventArgs)
 {
     await m_dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
     {
         //textBox2.Text = eventArgs.PercentDone.ToString();
         progressBar1.Value = eventArgs.PercentDone;
     });
 }