private AppointmentRibbonButton thisRibbon()
        {
            Outlook.Inspector       inspector        = (Outlook.Inspector) this.Context;
            AppointmentRibbonButton individualRibbon = Globals.Ribbons[inspector].AppointmentRibbonButton;

            return(individualRibbon);
        }
Exemple #2
0
        private void setRoomIdText(string roomIdText)
        {
            AppointmentRibbonButton individualRibbon = Globals.Ribbons[Globals.ThisAddIn.Application.ActiveInspector()].AppointmentRibbonButton;

            if (roomIdText != null)
            {
                individualRibbon.RoomID.Text = roomIdText;
            }
        }
 public CustomiseJitsiAppointment(AppointmentRibbonButton appointmentRibbon)
 {
     this.appointmentRibbon = appointmentRibbon;
     // Get the Application object
     application = Globals.ThisAddIn.Application;
     // Get the active Inspector object
     Outlook.Inspector inspector = application.ActiveInspector();
     appointmentItem = inspector.CurrentItem as Outlook.AppointmentItem;
     oldDomain       = Properties.Settings.Default.Domain;
 }
        private void setRoomIdText(string roomIdText)
        {
            Outlook.Inspector       inspector        = newAppointment.GetInspector;
            AppointmentRibbonButton individualRibbon = Globals.Ribbons[inspector].AppointmentRibbonButton;

            if (roomIdText != null)
            {
                individualRibbon.RoomID.Text = roomIdText;
            }
        }