04-22-2012, 03:44 PM
I think the info on the prograssBar1_click should be in the updateButton_click, you can modify the progress bar by accessing the variable attached to your progress bar(in your case prograssBar1). Dont forget to set your progress bar maximun and minimun(min = 0, and max = 100).
in your updateButton_click, will be:
Download patch:
set progress bar at 50%(progressBar1.increment(50)

Apply patch
setprogress bar at 100%(progressBar1.increment(50)

To check if you got 100% you could just use:
if(progressBar1.value >= progressBar1.Maximum){
//progress bar is full
}

