Example #1
0
 /// <summary>
 /// Required by designer support - do not modify
 /// the following method
 /// </summary>
 private void InitializeComponent()
 {
     this.components       = new System.ComponentModel.Container();
     this.adxOutlookEvents = new AddinExpress.MSO.ADXOutlookAppEvents(this.components);
     //
     // adxOutlookEvents
     //
     this.adxOutlookEvents.InspectorActivate += new AddinExpress.MSO.ADXOlInspector_EventHandler(this.adxOutlookEvents_InspectorActivate);
     this.adxOutlookEvents.ItemSend          += new AddinExpress.MSO.ADXOlItemSend_EventHandler(this.adxOutlookEvents_ItemSend);
     this.adxOutlookEvents.InspectorClose    += new AddinExpress.MSO.ADXOlInspector_EventHandler(this.adxOutlookEvents_InspectorClose);
     //
     // AddinModule
     //
     this.AddinName           = "Outlook Item Events Example";
     this.SupportedApps       = AddinExpress.MSO.ADXOfficeHostApp.ohaOutlook;
     this.AddinBeginShutdown += new AddinExpress.MSO.ADXEvents_EventHandler(this.AddinModule_AddinBeginShutdown);
     this.AddinInitialize    += new AddinExpress.MSO.ADXEvents_EventHandler(this.AddinModule_AddinInitialize);
 }
Example #2
0
 /// <summary>
 /// Required by designer support - do not modify
 /// the following method
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddinModule));
     this.imageList1                 = new System.Windows.Forms.ImageList(this.components);
     this.cmbSecurityManager         = new AddinExpress.MSO.ADXOlExplorerCommandBar(this.components);
     this.btnMode                    = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.btnContacts                = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.btnMessage                 = new AddinExpress.MSO.ADXCommandBarButton(this.components);
     this.adxOutlookEvents           = new AddinExpress.MSO.ADXOutlookAppEvents(this.components);
     this.securityManager1           = new AddinExpress.Outlook.SecurityManager();
     this.RibbonTabSecurityManager   = new AddinExpress.MSO.ADXRibbonTab(this.components);
     this.RibbonGroupSecurityManager = new AddinExpress.MSO.ADXRibbonGroup(this.components);
     this.RibbonButtonMode           = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.RibbonButtonContacts       = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.RibbonButtonMessage        = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.adxRibbonButtonGroup1      = new AddinExpress.MSO.ADXRibbonButtonGroup(this.components);
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     //
     // cmbSecurityManager
     //
     this.cmbSecurityManager.CommandBarName = "Security Manager .NET";
     this.cmbSecurityManager.CommandBarTag  = "19CD1F5B-F746-4146-A614-459AAD87FB38";
     this.cmbSecurityManager.Controls.Add(this.btnMode);
     this.cmbSecurityManager.Controls.Add(this.btnContacts);
     this.cmbSecurityManager.Controls.Add(this.btnMessage);
     this.cmbSecurityManager.Temporary     = true;
     this.cmbSecurityManager.UpdateCounter = 13;
     //
     // btnMode
     //
     this.btnMode.Caption               = "Security (ON)";
     this.btnMode.ControlTag            = "947ca615-7c35-4a08-a0e6-3814e12a7b94";
     this.btnMode.Image                 = 0;
     this.btnMode.ImageTransparentColor = System.Drawing.Color.Fuchsia;
     this.btnMode.Style                 = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIconAndCaption;
     this.btnMode.Tag           = "10";
     this.btnMode.Temporary     = true;
     this.btnMode.TooltipText   = "Switch security";
     this.btnMode.UpdateCounter = 22;
     this.btnMode.Click        += new AddinExpress.MSO.ADXClick_EventHandler(this.CommonButtonClick);
     //
     // btnContacts
     //
     this.btnContacts.BeginGroup            = true;
     this.btnContacts.Caption               = "Enum Contacts";
     this.btnContacts.ControlTag            = "82cd1e32-41e8-4358-a8fe-7ed9bc5ddbc3";
     this.btnContacts.Image                 = 2;
     this.btnContacts.ImageTransparentColor = System.Drawing.Color.Fuchsia;
     this.btnContacts.Style                 = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.btnContacts.Tag           = "20";
     this.btnContacts.Temporary     = true;
     this.btnContacts.TooltipText   = "Show Contacts";
     this.btnContacts.UpdateCounter = 23;
     this.btnContacts.Click        += new AddinExpress.MSO.ADXClick_EventHandler(this.CommonButtonClick);
     //
     // btnMessage
     //
     this.btnMessage.Caption               = "Get Message Details";
     this.btnMessage.ControlTag            = "a13aa433-87a9-4a12-9dcd-de1c52f3df75";
     this.btnMessage.Image                 = 3;
     this.btnMessage.ImageTransparentColor = System.Drawing.Color.Fuchsia;
     this.btnMessage.Style                 = AddinExpress.MSO.ADXMsoButtonStyle.adxMsoButtonIcon;
     this.btnMessage.Tag           = "30";
     this.btnMessage.Temporary     = true;
     this.btnMessage.TooltipText   = "Message details";
     this.btnMessage.UpdateCounter = 20;
     this.btnMessage.Click        += new AddinExpress.MSO.ADXClick_EventHandler(this.CommonButtonClick);
     //
     // adxOutlookEvents
     //
     this.adxOutlookEvents.ExplorerSelectionChange += new AddinExpress.MSO.ADXOlExplorer_EventHandler(this.adxOutlookEvents_ExplorerSelectionChange);
     this.adxOutlookEvents.ExplorerFolderSwitch    += new AddinExpress.MSO.ADXOlExplorer_EventHandler(this.adxOutlookEvents_ExplorerFolderSwitch);
     //
     // RibbonTabSecurityManager
     //
     this.RibbonTabSecurityManager.Caption = "Security Manager .NET";
     this.RibbonTabSecurityManager.Controls.Add(this.RibbonGroupSecurityManager);
     this.RibbonTabSecurityManager.Id      = "adxRibbonTab_b467dcde14a448aca4fcf7223c261918";
     this.RibbonTabSecurityManager.Ribbons = AddinExpress.MSO.ADXRibbons.msrOutlookExplorer;
     //
     // RibbonGroupSecurityManager
     //
     this.RibbonGroupSecurityManager.Caption = "Security Manager .NET";
     this.RibbonGroupSecurityManager.Controls.Add(this.RibbonButtonMode);
     this.RibbonGroupSecurityManager.Controls.Add(this.adxRibbonButtonGroup1);
     this.RibbonGroupSecurityManager.Id = "adxRibbonGroup_b4b3e8c77aa84009aedd8b8c28cd1675";
     this.RibbonGroupSecurityManager.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.RibbonGroupSecurityManager.Ribbons = AddinExpress.MSO.ADXRibbons.msrOutlookExplorer;
     //
     // RibbonButtonMode
     //
     this.RibbonButtonMode.Caption               = "Security (ON)";
     this.RibbonButtonMode.Id                    = "adxRibbonButton_f63fa01bdd234417a3c712edceaff55e";
     this.RibbonButtonMode.Image                 = 0;
     this.RibbonButtonMode.ImageList             = this.imageList1;
     this.RibbonButtonMode.ImageTransparentColor = System.Drawing.Color.Fuchsia;
     this.RibbonButtonMode.Ribbons               = AddinExpress.MSO.ADXRibbons.msrOutlookExplorer;
     this.RibbonButtonMode.ToggleButton          = true;
     this.RibbonButtonMode.OnClick              += new AddinExpress.MSO.ADXRibbonOnAction_EventHandler(this.RibbonButtonMode_OnClick);
     //
     // RibbonButtonContacts
     //
     this.RibbonButtonContacts.Caption               = "Show Contacts";
     this.RibbonButtonContacts.Id                    = "adxRibbonButton_3c514a06998b4ca89c5bbec1a2ea1da7";
     this.RibbonButtonContacts.Image                 = 2;
     this.RibbonButtonContacts.ImageList             = this.imageList1;
     this.RibbonButtonContacts.ImageTransparentColor = System.Drawing.Color.Fuchsia;
     this.RibbonButtonContacts.Ribbons               = AddinExpress.MSO.ADXRibbons.msrOutlookExplorer;
     this.RibbonButtonContacts.ScreenTip             = "Show Contacts";
     this.RibbonButtonContacts.OnClick              += new AddinExpress.MSO.ADXRibbonOnAction_EventHandler(this.RibbonButtonContacts_OnClick);
     //
     // RibbonButtonMessage
     //
     this.RibbonButtonMessage.Caption               = "Message details";
     this.RibbonButtonMessage.Id                    = "adxRibbonButton_da6bc0612f0f41ddbf3e8fbc9b041e9c";
     this.RibbonButtonMessage.Image                 = 3;
     this.RibbonButtonMessage.ImageList             = this.imageList1;
     this.RibbonButtonMessage.ImageTransparentColor = System.Drawing.Color.Fuchsia;
     this.RibbonButtonMessage.Ribbons               = AddinExpress.MSO.ADXRibbons.msrOutlookExplorer;
     this.RibbonButtonMessage.ScreenTip             = "Message details";
     this.RibbonButtonMessage.OnClick              += new AddinExpress.MSO.ADXRibbonOnAction_EventHandler(this.RibbonButtonMessage_OnClick);
     //
     // adxRibbonButtonGroup1
     //
     this.adxRibbonButtonGroup1.Controls.Add(this.RibbonButtonContacts);
     this.adxRibbonButtonGroup1.Controls.Add(this.RibbonButtonMessage);
     this.adxRibbonButtonGroup1.Id      = "adxRibbonButtonGroup_778acc6d2f4d4b41ba12bc3152d48502";
     this.adxRibbonButtonGroup1.Ribbons = AddinExpress.MSO.ADXRibbons.msrOutlookExplorer;
     //
     // AddinModule
     //
     this.AddinName        = "Security Manager Sample (2005)";
     this.Images           = this.imageList1;
     this.SupportedApps    = AddinExpress.MSO.ADXOfficeHostApp.ohaOutlook;
     this.AddinInitialize += new AddinExpress.MSO.ADXEvents_EventHandler(this.AddinModule_AddinInitialize);
 }