Example #1
0
 /// <summary>
 /// Required by designer support - do not modify
 /// the following method
 /// </summary>
 private void InitializeComponent()
 {
     this.OnConnect += new AddinExpress.IE.ADXIEConnect_EventHandler(IEModule_OnConnect);
     this.components = new System.ComponentModel.Container();
     this.barItem    = new AddinExpress.IE.ADXIEBarItem(this.components);
     //
     // barItem
     //
     this.barItem.BarType  = "Billbank.IEPlugin.SideBar";
     this.barItem.HelpText = String.Format("{0} {1}", Resources.DisplayPanel, Settings.Default.PluginTitle);
     this.barItem.MenuText = Settings.Default.PluginTooltip;
     this.barItem.Title    = Settings.Default.PluginTitle;
     this.barItem.ToolButtonDefaultVisible = true;
     this.barItem.AddToolButton            = true;
     this.barItem.LoadAtStartup            = false;
     this.barItem.ToolButtonActiveIcon     = "Icons.Plugin";
     this.barItem.ToolButtonInactiveIcon   = "Icons.Plugin";
     this.barItem.MinSize = 190;
     //
     // IEModule
     //
     this.Bars.Add(this.barItem);
     this.ModuleName        = Settings.Default.PluginTitle;
     this.DocumentComplete += new AddinExpress.IE.ADXIEDocumentComplete_EventHandler(IEModule_DocumentComplete);
 }
Example #2
0
 /// <summary>
 /// Required by designer support - do not modify
 /// the following method
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.adxieContextMenuCommandItem1 = new AddinExpress.IE.ADXIEContextMenuCommandItem(this.components);
     this.adxieBarItem1 = new AddinExpress.IE.ADXIEBarItem(this.components);
     //
     // adxieContextMenuCommandItem1
     //
     this.adxieContextMenuCommandItem1.Caption = "Add to Download Manager (C#)";
     this.adxieContextMenuCommandItem1.Contexts = ((AddinExpress.IE.ADXIEMenuContexts)(((AddinExpress.IE.ADXIEMenuContexts.mcImages | AddinExpress.IE.ADXIEMenuContexts.mcTextSelection)
                 | AddinExpress.IE.ADXIEMenuContexts.mcAnchor)));
     this.adxieContextMenuCommandItem1.OnClick += new AddinExpress.IE.ADXIEMenuItemClick_EventHandler(this.adxieContextMenuCommandItem1_OnClick);
     //
     // adxieBarItem1
     //
     this.adxieBarItem1.BarType = "DownloadManager.DownloadManager";
     this.adxieBarItem1.HelpText = "Download Manager (C# example)";
     this.adxieBarItem1.LoadAtStartup = true;
     this.adxieBarItem1.MenuText = "Download Manager (C# example)";
     this.adxieBarItem1.MinSize = 240;
     this.adxieBarItem1.Title = "Download Manager (C# example)";
     this.adxieBarItem1.ToolButtonActiveIcon = "Icons.favicon";
     this.adxieBarItem1.ToolButtonInactiveIcon = "Icons.favicon";
     //
     // IEModule
     //
     this.Bars.Add(this.adxieBarItem1);
     this.ContextMenu.Add(this.adxieContextMenuCommandItem1);
     this.ModuleName = "Download Manager (C#)";
 }