private void WebClient_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e) { if (e.Error != null) { this.DialogResult = DialogResult.No; this.Close(); } else if (e.Cancelled) { this.DialogResult = DialogResult.Abort; this.Close(); } else { lblProgress.Text = "Verifying Download..."; -------> progressBar.Style = ProgressBarStyle.Marquee; <--------- bgWorker.RunWorkerAsync(new string[] { this.tempFile, this.md5 }); }
progressBar.Style = ProgressBarStyle.Marquee;
ProgressBarStyle.Marquee
Quote:Error CS0266 cannot implicitly convert type 'system.windows.forms.progressbarstyle' to 'metroframework.metrocolorstyle'. An explicit conversion exists (are you missing a cast? )
ProgressBarStyle
progressBar.ProgressBarStyle = ProgressBarStyle.Marquee;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)