Fix progressbar wiggling
This commit is contained in:
parent
9692a802d0
commit
a8bca3de98
2 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ namespace LibationWinForms.ProcessQueue
|
|||
}
|
||||
public void SetProgrss(int progress)
|
||||
{
|
||||
//Disabvle slow fill
|
||||
//https://stackoverflow.com/a/5332770/3335599
|
||||
if (progress < progressBar1.Maximum)
|
||||
progressBar1.Value = progress + 1;
|
||||
progressBar1.Value = progress;
|
||||
}
|
||||
public void SetRemainingTime(TimeSpan remaining)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue