コード例 #1
0
 protected virtual void OnStartDownload(StartDownloadEventArgs e)
 {
     if (StartedDownload != null)
     {
         StartedDownload(this, e);
     }
 }
コード例 #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);
 }
コード例 #3
0
 protected virtual void OnStartDownload(StartDownloadEventArgs e)
 {
     if (StartedDownload != null)
         StartedDownload(this, e);
 }
コード例 #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);
 }