100% message in progress bar status

This commit is contained in:
Sergey Chebotar 2022-04-03 12:24:22 +03:00
parent 059e385470
commit f0dc286f90

View File

@ -16,11 +16,7 @@
public override void Update() public override void Update()
{ {
double percent = (++CurrentProgress / TaskWeight) * 100; double percent = (++CurrentProgress / TaskWeight) * 100;
if (percent < 100)
{
Excel.StatusBar = $"{Message} Выполнено {percent:#.#} %"; Excel.StatusBar = $"{Message} Выполнено {percent:#.#} %";
} }
} }
} }
}