Are you saying, without actually saying, that you want to alternately increase and then decrease the Value of the ProgressBar? From what little you've posted, it seems that you want to both increase and decrease the Value on each Tick, which would be pointless. Also, what if the Value reaches the Maximum before the app closes? Please provide a FULL and CLEAR explanation of the whole issue.