From f0dc286f9020146a95471506385a4d99d7200595 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Sun, 3 Apr 2022 12:24:22 +0300 Subject: [PATCH] 100% message in progress bar status --- src/Interface/ProgressBar.cs | 6 +----- 1 file changed, 1 insertion(+), 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:#.#} %"; } } }