Add Usings
This commit is contained in:
parent
de2f7f43ec
commit
2280b49ae1
@ -1,13 +1,10 @@
|
|||||||
using ExcelDna.Integration;
|
namespace RhSolutions.AddIn;
|
||||||
|
|
||||||
namespace RhSolutions.AddIn
|
public static class ResetBarFunction
|
||||||
{
|
{
|
||||||
public static class ResetBarFunction
|
|
||||||
{
|
|
||||||
[ExcelFunction]
|
[ExcelFunction]
|
||||||
public static void _ResetStatusBar()
|
public static void _ResetStatusBar()
|
||||||
{
|
{
|
||||||
RhSolutionsAddIn.Excel.StatusBar = false;
|
RhSolutionsAddIn.Excel.StatusBar = false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
@ -1,15 +1,10 @@
|
|||||||
using ExcelDna.Integration;
|
using ExcelDna.IntelliSense;
|
||||||
using ExcelDna.IntelliSense;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
|
||||||
using Microsoft.Office.Interop.Excel;
|
|
||||||
using RhSolutions.Services;
|
|
||||||
using System;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
|
|
||||||
namespace RhSolutions.AddIn
|
namespace RhSolutions.AddIn;
|
||||||
|
|
||||||
|
public sealed class RhSolutionsAddIn : IExcelAddIn
|
||||||
{
|
{
|
||||||
public sealed class RhSolutionsAddIn : IExcelAddIn
|
|
||||||
{
|
|
||||||
public static Application Excel { get; private set; }
|
public static Application Excel { get; private set; }
|
||||||
public static ServiceProvider ServiceProvider { get; set; }
|
public static ServiceProvider ServiceProvider { get; set; }
|
||||||
public static IAddInConfiguration Configuration { get; set; }
|
public static IAddInConfiguration Configuration { get; set; }
|
||||||
@ -39,5 +34,4 @@ namespace RhSolutions.AddIn
|
|||||||
IntelliSenseServer.Uninstall();
|
IntelliSenseServer.Uninstall();
|
||||||
EventsUtil.Uninitialize();
|
EventsUtil.Uninitialize();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
5
RhSolutions.AddIn/Usings.cs
Normal file
5
RhSolutions.AddIn/Usings.cs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
global using ExcelDna.Integration;
|
||||||
|
global using Microsoft.Extensions.DependencyInjection;
|
||||||
|
global using Microsoft.Office.Interop.Excel;
|
||||||
|
global using RhSolutions.Services;
|
||||||
|
global using System;
|
Loading…
Reference in New Issue
Block a user