Exemple #1
0
        public void RibbonMenuClick(IRibbonControl control)
        {
            /* TESTS
             * var selection = control.Context as Microsoft.Office.Interop.Outlook.Selection;
             * var mailItems = selection.OfType<Microsoft.Office.Interop.Outlook.MailItem>().ToList();
             * MessageBox.Show(mailItems[0].Subject);
             * mailItems[0].UnRead = true;
             */


            /*
             * Outlook.Selection sel = control.Context as Outlook.Selection;
             * Outlook.MailItem mail = sel[1];
             * MessageBox.Show(mail.Body);
             *
             */


            ToOTRS_2020.RightClickCallback(control, app);
        }
Exemple #2
0
 public Ribbon1(ToOTRS_2020 _app)
 {
     app = _app;
 }