コード例 #1
0
 private void App_OptionsPagesAdd(Microsoft.Office.Interop.Outlook.PropertyPages Pages)
 {
     try
     {
         // TODO: is any management of Pages needed here?
         Pages.Add(new SettingsPage(Features.ToArray()), Properties.Resources.ThisAddIn_Title);
     }
     catch (System.Exception e)
     {
         Logger.Instance.Error(this, "Exception in App_OptionsPagesAdd: {0}", e);
     }
 }
コード例 #2
0
 void _OutlookApplication_OptionsPagesAdd(Microsoft.Office.Interop.Outlook.PropertyPages Pages)
 {
     DisplayInWatchWindow(OptionsPagesAdd++, System.Reflection.MethodInfo.GetCurrentMethod().Name);
 }