namespace BulkArchiveMailer.AddIn { /// /// Static access point to the running add-in instance, matching the /// shape Visual Studio normally generates for VSTO projects (hand /// written here for the same reason as ThisAddIn.Designer.cs - see /// its header comment). /// internal static class Globals { internal static ThisAddIn ThisAddIn => (ThisAddIn)Microsoft.Office.Tools.Outlook.OutlookAddIn.GetInstance(typeof(ThisAddIn)); } }