int percent = (int)(((double)progressBar1.Value / (double)progressBar1.Maximum) * 100); progressBar1.CreateGraphics().DrawString(percent.ToString() + "%", new Font("Arial", (float)8.25, FontStyle.Regular), Brushes.Black, new PointF(progressBar1.Width / 2 - 10, progressBar1.Height / 2 - 7));
This is the code for the progress bar. check
source share