Friday, January 1, 2010

Sample code written using the ProgressBar in Visual C + +


(Thai Version)
Sample code written using the ProgressBar in Visual C + +
1. The object to such a place.
 

 
2. Write code to command button "Process" below.
private: System::Void btnProcess_Click(System::Object^ sender, System::EventArgs^ e) {

int i;
progressBar1->Minimum=1;
progressBar1->Maximum=1000;
progressBar1->Visible=true;
for(i=1;i<=1000;i++)
{
    progressBar1->Value=i;
    progressBar1->Refresh();
}
progressBar1->Visible=false;
}

3. Running test results by clicking on the button "Process" is a result.




Thank you,
Worawut  Bunwang

2 comments:

  1. Writing a thesis paper would be completely a different experience for the students since many of the students will be dealing with the thesis paper first time in their academic life. The thesis writing service is very helpful for the students in completing their thesis writing task for a number of students. The chief reason is that the bulk of students lack skills and knowledge in writing a premium thesis paper. But theThesis Writing servicewriting services have got expert writers who are skills and knowledgeable to write a finest thesis paper

    ReplyDelete