aboutsummaryrefslogtreecommitdiff
path: root/src/Interface/ProgressBar.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Interface/ProgressBar.cs')
-rw-r--r--src/Interface/ProgressBar.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Interface/ProgressBar.cs b/src/Interface/ProgressBar.cs
index 9a0490b..ed889f6 100644
--- a/src/Interface/ProgressBar.cs
+++ b/src/Interface/ProgressBar.cs
@@ -1,10 +1,7 @@
-using Microsoft.Office.Interop.Excel;
-
-namespace RehauSku.Interface
+namespace RehauSku.Interface
{
- internal class ProgressBar
+ internal class ProgressBar : AbstractBar
{
- private Application Excel = AddIn.Excel;
private double CurrentProgress { get; set; }
private readonly double TaskWeight;
private readonly string Message;
@@ -16,7 +13,7 @@ namespace RehauSku.Interface
CurrentProgress = 0;
}
- public void DoProgress()
+ public override void Update()
{
double percent = (++CurrentProgress / TaskWeight) * 100;