using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WinForms_Circular_ProgressBar
{
public partial class Form1 : Form
{
//NuGet\Install-Package CircularProgressBar -Version 2.8.0.16
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
circularProgressBar1.Value = 0;
for (int i = 0; i < 101; i++)
{
circularProgressBar1.Value = i;
circularProgressBar1.Update();
System.Threading.Thread.Sleep(5);
}
}
private void Form1_Load(object sender, EventArgs e)
{
circularProgressBar1.Minimum = 0;
circularProgressBar1.Maximum = 100;
circularProgressBar1.Value = 0;
}
}
}
Download the project of Visual Studio 2013 in DropBox Download