c sharp Progress Bar

C# using Progress bar in windows form application  show the progress of Downloading or uploading file from C# windows application or other operations which performs behind the scenes of program execution

Progress Bar can be drop form tool box  in order to use it in C# windows form applications
inside click event of button from where you want start your progress set some of the following values. let say your progress bar is progressbar1.

progressbar1.Maximum=100;
progressbar1.minimum=0;

for(int x =0 ; <100 ; x++)
{
       progressbar1.value=x++;
 }

when user clicks on that button your progress bar will be start automatically and will goes up to your maximum value set in progress bar 's Maximum.

No comments:

Post a Comment

Sending SMS Via Windows Form Application Using any Android Smart Phone  Source Code  using System ; using System . C...