Example #1
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.taskPanesManager             = new AddinExpress.XL.ADXExcelTaskPanesManager(this.components);
     this.databaseExplorerTaskPaneItem = new AddinExpress.XL.ADXExcelTaskPanesCollectionItem(this.components);
     this.databaseRibbonTab            = new AddinExpress.MSO.ADXRibbonTab(this.components);
     this.databaseRibbonGroup          = new AddinExpress.MSO.ADXRibbonGroup(this.components);
     this.sqlforExcelRibbonButton      = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.imlIcons    = new System.Windows.Forms.ImageList(this.components);
     this.excelEvents = new AddinExpress.MSO.ADXExcelAppEvents(this.components);
     //
     // taskPanesManager
     //
     this.taskPanesManager.Items.Add(this.databaseExplorerTaskPaneItem);
     this.taskPanesManager.SetOwner(this);
     //
     // databaseExplorerTaskPaneItem
     //
     this.databaseExplorerTaskPaneItem.AllowedDropPositions        = ((AddinExpress.XL.ADXExcelAllowedDropPositions)((AddinExpress.XL.ADXExcelAllowedDropPositions.Right | AddinExpress.XL.ADXExcelAllowedDropPositions.Left)));
     this.databaseExplorerTaskPaneItem.AlwaysShowHeader            = true;
     this.databaseExplorerTaskPaneItem.CloseButton                 = true;
     this.databaseExplorerTaskPaneItem.IsDragDropAllowed           = true;
     this.databaseExplorerTaskPaneItem.Position                    = AddinExpress.XL.ADXExcelTaskPanePosition.Right;
     this.databaseExplorerTaskPaneItem.TaskPaneClassName           = "SQLServerForExcel_Addin.DatabaseExplorerTaskPane";
     this.databaseExplorerTaskPaneItem.UseOfficeThemeForBackground = true;
     //
     // databaseRibbonTab
     //
     this.databaseRibbonTab.Caption = "Database";
     this.databaseRibbonTab.Controls.Add(this.databaseRibbonGroup);
     this.databaseRibbonTab.Id      = "adxRibbonTab_85a6421e5ca84f33806886691942c8c1";
     this.databaseRibbonTab.IdMso   = "TabData";
     this.databaseRibbonTab.Ribbons = AddinExpress.MSO.ADXRibbons.msrExcelWorkbook;
     //
     // databaseRibbonGroup
     //
     this.databaseRibbonGroup.Caption = "Database";
     this.databaseRibbonGroup.Controls.Add(this.sqlforExcelRibbonButton);
     this.databaseRibbonGroup.Id = "adxRibbonGroup_81428551842449ca932d3fa453231758";
     this.databaseRibbonGroup.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.databaseRibbonGroup.Ribbons = AddinExpress.MSO.ADXRibbons.msrExcelWorkbook;
     //
     // sqlforExcelRibbonButton
     //
     this.sqlforExcelRibbonButton.Caption               = "SQL Server for Excel";
     this.sqlforExcelRibbonButton.Glyph                 = global::SQLServerForExcel_Addin.Properties.Resources.SSMS;
     this.sqlforExcelRibbonButton.Id                    = "adxRibbonButton_c3ef0c24017d4be0b1a084febd77f725";
     this.sqlforExcelRibbonButton.ImageList             = this.imlIcons;
     this.sqlforExcelRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.sqlforExcelRibbonButton.Ribbons               = AddinExpress.MSO.ADXRibbons.msrExcelWorkbook;
     this.sqlforExcelRibbonButton.Size                  = AddinExpress.MSO.ADXRibbonXControlSize.Large;
     this.sqlforExcelRibbonButton.OnClick              += new AddinExpress.MSO.ADXRibbonOnAction_EventHandler(this.sqlforExcelRibbonButton_OnClick);
     //
     // imlIcons
     //
     this.imlIcons.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlIcons.ImageStream")));
     this.imlIcons.TransparentColor = System.Drawing.Color.Transparent;
     this.imlIcons.Images.SetKeyName(0, "logoico.ico");
     //
     // excelEvents
     //
     this.excelEvents.SheetChange += new AddinExpress.MSO.ADXExcelSheet_EventHandler(this.excelEvents_SheetChange);
     //
     // AddinModule
     //
     this.AddinName     = "SQLServerForExcel_Addin";
     this.SupportedApps = AddinExpress.MSO.ADXOfficeHostApp.ohaExcel;
 }
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.taskPanesManager = new AddinExpress.XL.ADXExcelTaskPanesManager(this.components);
     this.databaseExplorerTaskPaneItem = new AddinExpress.XL.ADXExcelTaskPanesCollectionItem(this.components);
     this.databaseRibbonTab = new AddinExpress.MSO.ADXRibbonTab(this.components);
     this.databaseRibbonGroup = new AddinExpress.MSO.ADXRibbonGroup(this.components);
     this.sqlforExcelRibbonButton = new AddinExpress.MSO.ADXRibbonButton(this.components);
     this.imlIcons = new System.Windows.Forms.ImageList(this.components);
     this.excelEvents = new AddinExpress.MSO.ADXExcelAppEvents(this.components);
     //
     // taskPanesManager
     //
     this.taskPanesManager.Items.Add(this.databaseExplorerTaskPaneItem);
     this.taskPanesManager.SetOwner(this);
     //
     // databaseExplorerTaskPaneItem
     //
     this.databaseExplorerTaskPaneItem.AllowedDropPositions = ((AddinExpress.XL.ADXExcelAllowedDropPositions)((AddinExpress.XL.ADXExcelAllowedDropPositions.Right | AddinExpress.XL.ADXExcelAllowedDropPositions.Left)));
     this.databaseExplorerTaskPaneItem.AlwaysShowHeader = true;
     this.databaseExplorerTaskPaneItem.CloseButton = true;
     this.databaseExplorerTaskPaneItem.IsDragDropAllowed = true;
     this.databaseExplorerTaskPaneItem.Position = AddinExpress.XL.ADXExcelTaskPanePosition.Right;
     this.databaseExplorerTaskPaneItem.TaskPaneClassName = "SQLServerForExcel_Addin.DatabaseExplorerTaskPane";
     this.databaseExplorerTaskPaneItem.UseOfficeThemeForBackground = true;
     //
     // databaseRibbonTab
     //
     this.databaseRibbonTab.Caption = "Database";
     this.databaseRibbonTab.Controls.Add(this.databaseRibbonGroup);
     this.databaseRibbonTab.Id = "adxRibbonTab_85a6421e5ca84f33806886691942c8c1";
     this.databaseRibbonTab.IdMso = "TabData";
     this.databaseRibbonTab.Ribbons = AddinExpress.MSO.ADXRibbons.msrExcelWorkbook;
     //
     // databaseRibbonGroup
     //
     this.databaseRibbonGroup.Caption = "Database";
     this.databaseRibbonGroup.Controls.Add(this.sqlforExcelRibbonButton);
     this.databaseRibbonGroup.Id = "adxRibbonGroup_81428551842449ca932d3fa453231758";
     this.databaseRibbonGroup.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.databaseRibbonGroup.Ribbons = AddinExpress.MSO.ADXRibbons.msrExcelWorkbook;
     //
     // sqlforExcelRibbonButton
     //
     this.sqlforExcelRibbonButton.Caption = "SQL Server for Excel";
     this.sqlforExcelRibbonButton.Glyph = global::SQLServerForExcel_Addin.Properties.Resources.SSMS;
     this.sqlforExcelRibbonButton.Id = "adxRibbonButton_c3ef0c24017d4be0b1a084febd77f725";
     this.sqlforExcelRibbonButton.ImageList = this.imlIcons;
     this.sqlforExcelRibbonButton.ImageTransparentColor = System.Drawing.Color.Transparent;
     this.sqlforExcelRibbonButton.Ribbons = AddinExpress.MSO.ADXRibbons.msrExcelWorkbook;
     this.sqlforExcelRibbonButton.Size = AddinExpress.MSO.ADXRibbonXControlSize.Large;
     this.sqlforExcelRibbonButton.OnClick += new AddinExpress.MSO.ADXRibbonOnAction_EventHandler(this.sqlforExcelRibbonButton_OnClick);
     //
     // imlIcons
     //
     this.imlIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imlIcons.ImageStream")));
     this.imlIcons.TransparentColor = System.Drawing.Color.Transparent;
     this.imlIcons.Images.SetKeyName(0, "logoico.ico");
     //
     // excelEvents
     //
     this.excelEvents.SheetChange += new AddinExpress.MSO.ADXExcelSheet_EventHandler(this.excelEvents_SheetChange);
     //
     // AddinModule
     //
     this.AddinName = "SQLServerForExcel_Addin";
     this.SupportedApps = AddinExpress.MSO.ADXOfficeHostApp.ohaExcel;
 }