Created
August 26, 2016 19:24
-
-
Save chrisbrasington/6586bea665306bddd537c4059a1aa4c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// create a new progress meter | |
ProgressMeter pm = new ProgressMeter(); | |
// set text for meter | |
pm.Start("Doing task.."); | |
// set upper limit, what is considered 100% full | |
pm.SetLimit(Count); | |
for (int i = 0; i < Count; i++) | |
{ | |
// step | |
pm.MeterProgress(); | |
} | |
// end | |
pm.Stop(); | |
pm.Dispose(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment