RhSolutions-AddIn/RhSolutions.AddIn/Models/StatusbarBase.cs
2023-03-22 08:36:13 +03:00

19 lines
418 B
C#

using Microsoft.Office.Interop.Excel;
using RhSolutions.AddIn;
using System;
namespace RhSolutions.Models
{
internal abstract class StatusbarBase : IDisposable
{
protected Application Excel = RhSolutionsAddIn.Excel;
public abstract void Update();
public void Dispose()
{
Excel.OnTime(DateTime.Now + new TimeSpan(0, 0, 5), "_ResetStatusBar");
}
}
}