Simplify progress bar implementation on winforms
private void button1_Click(object sender, EventArgs e)
{
ProgressBar.UI.Start(this); // start progress bar
// any process..
ProgressBar.UI.Stop(); // stop progress bar
}
# API:
ProgressBar.UI.Message = "Progress message";
ProgressBar.UI.Interval = 100; // set progress speed (milliseconds)
ProgressBar.UI.Pause(); // pause progress
ProgressBar.UI.Play(); // continue progress
ProgressBar.UI.Hide(); // Hides progress bar
ProgressBar.UI.Show() // Show progress bar
.NET Framework 4
https://www.nuget.org/packages/ProgressBar/
visual studio 2013
see LICENSE file