diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-04-03 12:24:22 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-04-03 12:24:22 +0300 |
commit | f0dc286f9020146a95471506385a4d99d7200595 (patch) | |
tree | f889d203da37460e2d919a295bb595a6d6a5cb62 | |
parent | 059e38547091b2801dd9ef8be0cd684eb9475e09 (diff) |
100% message in progress bar status
-rw-r--r-- | src/Interface/ProgressBar.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Interface/ProgressBar.cs b/src/Interface/ProgressBar.cs index 37f8559..f0f2985 100644 --- a/src/Interface/ProgressBar.cs +++ b/src/Interface/ProgressBar.cs @@ -16,11 +16,7 @@ public override void Update() { double percent = (++CurrentProgress / TaskWeight) * 100; - - if (percent < 100) - { - Excel.StatusBar = $"{Message} Выполнено {percent:#.#} %"; - } + Excel.StatusBar = $"{Message} Выполнено {percent:#.#} %"; } } } |