Exemplo n.º 1
0
 protected virtual void OnStartDownload(StartDownloadEventArgs e)
 {
     if (StartedDownload != null)
     {
         StartedDownload(this, e);
     }
 }
Exemplo n.º 2
0
 private void Patcher_StartedDownload(object sender, StartDownloadEventArgs e)
 {
     PbProgressPerformStep();
     TxtLogAppendText(String.Format("Downloading File..... {0} ({1})\r\n", e.Filename, e.Filesize.ToString(CultureInfo.InvariantCulture)));
     pbFileProgress.Maximum = 100;
     PbFileProgressSetValueStep(0);
 }
Exemplo n.º 3
0
 protected virtual void OnStartDownload(StartDownloadEventArgs e)
 {
     if (StartedDownload != null)
         StartedDownload(this, e);
 }
Exemplo n.º 4
0
 private void Patcher_StartedDownload(object sender, StartDownloadEventArgs e)
 {
     PbProgressPerformStep();
     TxtLogAppendText(String.Format("Downloading File..... {0} ({1})\r\n", e.Filename, e.Filesize.ToString(CultureInfo.InvariantCulture)));
     pbFileProgress.Maximum = 100;
     PbFileProgressSetValueStep(0);
 }