VB.NET Progress Bar [duplicate]
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: .NET progressbar not updating I built a progress bar class that shows the progress in my for loops. Here's the code for the progress bar class: Public Class frmProgress Private Sub frmProgress_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load progressBar.Minimum = 0 End Sub Public Sub ProgressBarSetup(ByRef Maximum As Integer, ByRef Title As String) progressBar.Maximum = Maximum