Пример #1
0
 private void DownloadHandler_DownloadProgressComplete(object sender, DownloadHandlerEventArgs e)
 {
     this.Invoke(new MethodInvoker(delegate
     {
         this.Height = 140;
         this.controlsPanel.Controls.Clear();
         this.controlsPanel.Controls.Add(this.statusControl);
     }));
 }
Пример #2
0
 private void DownloadHandler_DownloadProgressChanged(object sender, DownloadHandlerEventArgs e)
 {
     this.Invoke(new MethodInvoker(delegate
     {
         this.downloadControl.SetProcessValue(e.ProgressPercentage);
         this.downloadControl.SetPercentage(e.ProgressPercentage);
         this.downloadControl.SetDownloadedMegaBytes(e.DownloadedText);
     }));
 }
Пример #3
0
 private void DownloadHandler_DownloadProgressComplete(object sender, DownloadHandlerEventArgs e)
 {
     this.Invoke(new MethodInvoker(delegate
     {
         this.Height = 140;
         this.controlsPanel.Controls.Clear();
         this.controlsPanel.Controls.Add(this.statusControl);
     }));
 }
Пример #4
0
 private void DownloadHandler_DownloadProgressChanged(object sender, DownloadHandlerEventArgs e)
 {
     this.Invoke(new MethodInvoker(delegate
     {
         this.downloadControl.SetProcessValue(e.ProgressPercentage);
         this.downloadControl.SetPercentage(e.ProgressPercentage);
         this.downloadControl.SetDownloadedMegaBytes(e.DownloadedText);
     }));
 }