| Author: Abhisek Panda 20 Jul 2009 | Member Level: Gold Points : 0 |
Good post. I really need it.
Regards Abhisek Panda
|
| Author: Viral Shah 21 Jul 2009 | Member Level: Bronze Points : 1 |
hi
Nice post. really useful.
But can we show percantage like 10% , 20% just like in normal our installation software along with?
|
| Author: Deepika Haridas 21 Jul 2009 | Member Level: Diamond Points : 1 |
Hi Viral,
Thanks for the suggestion. Will try to post that soon.
-- Thanks & Regards, Deepika Editor
|
| Author: Viral Shah 21 Jul 2009 | Member Level: Bronze Points : 1 |
hii
I m very surprised to see your quickest response. Great person you are.
Actually , i m only hv 3 months exp ,so i want to learn much thing from this sites.
Thanks, Viral Shah
|
| Author: Deepika Haridas 27 Jul 2009 | Member Level: Diamond Points : 4 |
Hi,
As per one member's question I am posting another solution for the same post.
To show percentage along with the progress bar just need to add the following code within the for loop.
progressBar1.Refresh(); int percent = (int)(((double)progressBar1.Value / (double)progressBar1.Maximum) * 100); progressBar1.CreateGraphics().DrawString(percent.ToString() + "%", new Font("Arial", (float)10.25, FontStyle.Regular), Brushes.Black, new PointF(progressBar1.Width / 2 - 10, progressBar1.Height / 2 - 7));
You can change width and height based on your requirement. -- Thanks & Regards, Deepika Editor
|
| Author: Viral Shah 29 Jul 2009 | Member Level: Bronze Points : 0 |
Thank you Ma'm.
|
| Author: Abhay 14 Aug 2009 | Member Level: Diamond Points : 1 |
Hi dEEPIKA,
good one .
keep it up.
contribute more.
Thanks and Regards Abhay
|