我Call.ProgressUpdate()
用来打电话:
Public Sub ProgressUpdate(sender As Object, e As DownloadProgressChangedEventArgs)
Console.WriteLine("{0}% completed", e.ProgressPercentage)
Call Main2()
End Sub
但我得到错误:
未为“Public Sub ProgressUpdate(sender As Object, e As System.Net.DownloadProgressChangedEventArgs)”的参数“sender”指定参数。
和
未为“Public Sub ProgressUpdate(sender As Object, e As System.Net.DownloadProgressChangedEventArgs)”的参数“e”指定参数。
任何帮助,将不胜感激。