Hide StatusBarReset function

This commit is contained in:
Sergey Chebotar 2023-06-23 07:33:33 +03:00
parent c1949a2159
commit d6de208df4
2 changed files with 6 additions and 16 deletions

View File

@ -1,16 +0,0 @@
#if !NET472
using System.Runtime.Versioning;
#endif
namespace RhSolutions.AddIn;
#if !NET472
[SupportedOSPlatform("windows")]
#endif
public static class ResetBarFunction
{
[ExcelFunction]
public static void StatusBarReset()
{
RhSolutionsAddIn.Excel.StatusBar = false;
}
}

View File

@ -15,6 +15,12 @@ public abstract class StatusbarBase : IDisposable
{ {
protected Application Excel = RhSolutionsAddIn.Excel; protected Application Excel = RhSolutionsAddIn.Excel;
[ExcelFunction(IsHidden = true)]
public static void StatusBarReset()
{
RhSolutionsAddIn.Excel.StatusBar = false;
}
public abstract void Update(); public abstract void Update();
public void Dispose() public void Dispose()