Hello,
I am not seeing anything that sticks out for doing a ProgressBar, all I see are some math operations being performed. Please elaborate to what needs a Progressbar and we can assist you with it.
To delay with the app remaining responsive via Framework 4.5 or better. You would start your timer in place of Console.WriteLine.
Private Async Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Await Task.Delay(1000)
Console.WriteLine("After")
End Sub
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.
No comments:
Post a Comment