19 lines
418 B
C#
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");
|
|
}
|
|
}
|
|
}
|