Example #1
0
        private void Plugin_Startup(object sender, System.EventArgs e)
        {
            Logging.PowerFolderLogProfile.initLogProfile();

            OutlookApplication = this.Application as Outlook.Application;
            OutlookInspectors = OutlookApplication.Inspectors;

            OutlookInspectors.NewInspector += new Microsoft.Office.Interop.Outlook.InspectorsEvents_NewInspectorEventHandler(OutlookInspectors_NewInspector);
            OutlookApplication.ItemSend += new Microsoft.Office.Interop.Outlook.ApplicationEvents_11_ItemSendEventHandler(OutlookApplication_ItemSend);

            Mail.OutboxDirectoryManager.Get(OutlookApplication).SendEmails();

            Update.Updater updater = new Update.Updater();
            updater.CheckForUpdate();
        }
Example #2
0
 private void update_btn_Click(object sender, RibbonControlEventArgs e)
 {
     Update.Updater updater = new Update.Updater(true);
     updater.CheckForUpdate(true);
 }