diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-12-20 12:27:47 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-12-20 12:27:47 +0300 |
commit | 73569a43644309d0342817580bcfd86c1face5b8 (patch) | |
tree | f3c6e15db82130b02ec8c3fa1b64674e6a9cf48d /src/Interface/StatusbarBase.cs | |
parent | 3d186c22e8665b80839495fdcf4b176c2f3e03b9 (diff) |
Namespace refactoring
Diffstat (limited to 'src/Interface/StatusbarBase.cs')
-rw-r--r-- | src/Interface/StatusbarBase.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/Interface/StatusbarBase.cs b/src/Interface/StatusbarBase.cs deleted file mode 100644 index f1af972..0000000 --- a/src/Interface/StatusbarBase.cs +++ /dev/null @@ -1,25 +0,0 @@ -using ExcelDna.Integration; -using Microsoft.Office.Interop.Excel; -using System; -using System.Threading; -using System.Threading.Tasks; - -namespace RhSolutions.Interface -{ - internal abstract class StatusbarBase : IDisposable - { - protected Application Excel = AddIn.Excel; - - public abstract void Update(); - - private static void ResetStatusBar() - { - AddIn.Excel.StatusBar = false; - } - - public void Dispose() - { - Task.Delay(5000).ContinueWith(t => ResetStatusBar()); - } - } -} |