using System; using Microsoft.Office.Tools.Outlook; namespace OutlookTelegramNotifier { public partial class ThisAddIn { private OutlookTelegramNotifier notifier; private void ThisAddIn_Startup(object sender, System.EventArgs e) { notifier = new OutlookTelegramNotifier(); } private void ThisAddIn_Shutdown(object sender, System.EventArgs e) { // Cleanup code here } #region VSTO generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InternalStartup() { this.Startup += new System.EventHandler(ThisAddIn_Startup); this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown); } #endregion } }