Advances the current position of the progress bar by the amount of the ToolStripProgressBar.Step property.
The ToolStripProgressBar.PerformStep method increments the value of the progress bar by the amount specified by the ToolStripProgressBar.Step property. You can use the ToolStripProgressBar.Step property to specify the amount that each completed task in an operation changes the value of the progress bar. For example, if you are copying a group of files, you might want to set the value of the ToolStripProgressBar.Step property to 1 and the value of the ToolStripProgressBar.Maximum property to the total number of files to copy. When each file is copied, you can call the ToolStripProgressBar.PerformStep method to increment the progress bar by the value of the ToolStripProgressBar.Step property. If you want to have more flexible control of the value of the progress bar, you can use the ToolStripProgressBar.Increment(int) method or set the value of the ToolStripProgressBar.Value property directly.
The ToolStripProgressBar.Value property specifies the current position of the System.Windows.Forms.ToolStripProgressBar. If, after calling the ToolStripProgressBar.PerformStep method, the ToolStripProgressBar.Value property is greater than the value of the ToolStripProgressBar.Maximum property, the ToolStripProgressBar.Value property remains at the value of the ToolStripProgressBar.Maximum property. If, after calling the ToolStripProgressBar.PerformStep method with a negative value specified in the value parameter, the ToolStripProgressBar.Value property is less than the value of the ToolStripProgressBar.Minimum property, the ToolStripProgressBar.Value property remains at the value of the ToolStripProgressBar.Minimum property.