archabhi123 wrote:
I am new in silverlight.
I haven't used Silverlight yet, so it seems that you're already ahead of me :)
archabhi123 wrote:
I want to show "time left" on preogress bar in the hh/mm/ss format.
To calculate how much time there's left, you'd first have to calculate how much time is required for a single step. Imagine your progressbar having 100 steps. First you'd write the code to time the first step. Next, you multiply this with the amount of steps left. If your progressbar is at 60, you'd have 40 steps left to perform - and if a step takes two seconds, you can calculate that it will (probably!) take 40 (steps) * 2 (seconds) = 80 seconds. Then you'd have to format those 80 seconds in the hh/mm/ss format and update the actual progressbar. --edit; You reacted to an somewhat older post on the forum. You might get more answers if you post it as a new question in the "Silverlight"-forum.
I are Troll :suss: