RhSolutions-AddIn/RhSolutions.AddIn/Tools/StatusbarBase.cs

25 lines
476 B
C#
Raw Normal View History

2023-04-06 08:29:39 +03:00
#if !NET472
using System.Runtime.Versioning;
using RhSolutions;
using RhSolutions.Models;
using RhSolutions.Tools;
#endif
namespace RhSolutions.Tools;
#if !NET472
[SupportedOSPlatform("windows")]
#endif
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), "StatusBarReset");
}
}