diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-12-23 21:10:43 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-12-23 21:10:43 +0300 |
commit | 0ccbf29382b43d19f7ea0d1f4b5841149137842d (patch) | |
tree | f93cc67ffc387e281c2c8f15f4d645cfa40339cf /src/AddIn/AddIn.cs | |
parent | 9892b3687f4c896fbaeb85717857f39f5316111c (diff) |
Return to ResetStatusBar Excel macro function
Diffstat (limited to 'src/AddIn/AddIn.cs')
-rw-r--r-- | src/AddIn/AddIn.cs | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/AddIn/AddIn.cs b/src/AddIn/AddIn.cs deleted file mode 100644 index 2aa71c7..0000000 --- a/src/AddIn/AddIn.cs +++ /dev/null @@ -1,36 +0,0 @@ -using ExcelDna.Integration; -using ExcelDna.IntelliSense; -using Microsoft.Office.Interop.Excel; -using RhSolutions.Services; -using System.Net; -using System.Net.Http; - -namespace RhSolutions.AddIn -{ - class RhSolutionsAddIn : IExcelAddIn - { - public static Application Excel; - public static HttpClient httpClient; - - public void AutoOpen() - { - Excel = (Application)ExcelDnaUtil.Application; - httpClient = new HttpClient(); - IntelliSenseServer.Install(); - RegistryUtil.Initialize(); - EventsUtil.Initialize(); - - ServicePointManager.SecurityProtocol = - SecurityProtocolType.Tls12 | - SecurityProtocolType.Tls11 | - SecurityProtocolType.Tls; - } - - public void AutoClose() - { - IntelliSenseServer.Uninstall(); - RegistryUtil.Uninitialize(); - EventsUtil.Uninitialize(); - } - } -} |