/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl1 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl2 = this.Factory.CreateRibbonDropDownItem(); this.TabCustom = this.Factory.CreateRibbonTab(); this.temperatureGroup = this.Factory.CreateRibbonGroup(); this.TemperatureEditBox = this.Factory.CreateRibbonEditBox(); this.ScaleDropDown = this.Factory.CreateRibbonDropDown(); this.InsertButton = this.Factory.CreateRibbonButton(); this.TabCustom.SuspendLayout(); this.temperatureGroup.SuspendLayout(); // // TabCustom // this.TabCustom.Groups.Add(this.temperatureGroup); this.TabCustom.Label = "Custom"; this.TabCustom.Name = "TabCustom"; // // temperatureGroup // this.temperatureGroup.Items.Add(this.TemperatureEditBox); this.temperatureGroup.Items.Add(this.ScaleDropDown); this.temperatureGroup.Items.Add(this.InsertButton); this.temperatureGroup.Label = "Temperature"; this.temperatureGroup.Name = "temperatureGroup"; // // TemperatureEditBox // this.TemperatureEditBox.Label = "Temperature"; this.TemperatureEditBox.Name = "TemperatureEditBox"; this.TemperatureEditBox.Text = null; this.TemperatureEditBox.TextChanged += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.TemperatureEditBox_TextChanged); // // ScaleDropDown // ribbonDropDownItemImpl1.Label = "Centigrade"; ribbonDropDownItemImpl2.Label = "Fahrenheit"; this.ScaleDropDown.Items.Add(ribbonDropDownItemImpl1); this.ScaleDropDown.Items.Add(ribbonDropDownItemImpl2); this.ScaleDropDown.Label = "Scale:"; this.ScaleDropDown.Name = "ScaleDropDown"; // // InsertButton // this.InsertButton.Enabled = false; this.InsertButton.Label = "Insert Temperature"; this.InsertButton.Name = "InsertButton"; this.InsertButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.InsertButton_Click); // // Ribbon1 // this.Name = "Ribbon1"; this.RibbonType = "Microsoft.Excel.Workbook"; this.Tabs.Add(this.TabCustom); this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.Ribbon1_Load); this.TabCustom.ResumeLayout(false); this.TabCustom.PerformLayout(); this.temperatureGroup.ResumeLayout(false); this.temperatureGroup.PerformLayout(); }
private void InitializeComponent() { this.wwteRibbonTab = this.Factory.CreateRibbonTab(); this.dummyGroup = this.Factory.CreateRibbonGroup(); this.visualizeGroup = this.Factory.CreateRibbonGroup(); this.visualizeSelectionButton = this.Factory.CreateRibbonButton(); this.tgBtnAutoMove = this.Factory.CreateRibbonToggleButton(); this.layerManagerButton = this.Factory.CreateRibbonToggleButton(); this.viewSamplesGallery = this.Factory.CreateRibbonGallery(); this.viewpointsGroup = this.Factory.CreateRibbonGroup(); this.captureViewpoint = this.Factory.CreateRibbonButton(); this.gotoViewpointGallery = this.Factory.CreateRibbonGallery(); this.manageViewpoint = this.Factory.CreateRibbonButton(); this.separator1 = this.Factory.CreateRibbonSeparator(); this.gotoViewpointFromData = this.Factory.CreateRibbonButton(); this.machineNameGroup = this.Factory.CreateRibbonGroup(); this.targetMachineButton = this.Factory.CreateRibbonButton(); this.helpGroup = this.Factory.CreateRibbonGroup(); this.contactusButton = this.Factory.CreateRibbonButton(); this.feedbackGallery = this.Factory.CreateRibbonGallery(); this.helpButton = this.Factory.CreateRibbonButton(); this.updateGroup = this.Factory.CreateRibbonGroup(); this.downloadUpdatesButton = this.Factory.CreateRibbonButton(); this.fetchClimateGroup = this.Factory.CreateRibbonGroup(); this.btnUpdate = this.Factory.CreateRibbonButton(); this.separator2 = this.Factory.CreateRibbonSeparator(); this.fetchClimateButton = this.Factory.CreateRibbonButton(); this.btnAGUDemo = this.Factory.CreateRibbonButton(); this.btnIRISDemo = this.Factory.CreateRibbonButton(); this.btnAboutServices = this.Factory.CreateRibbonButton(); this.btnGetLocation = this.Factory.CreateRibbonButton(); this.wwteRibbonTab.SuspendLayout(); this.visualizeGroup.SuspendLayout(); this.viewpointsGroup.SuspendLayout(); this.machineNameGroup.SuspendLayout(); this.helpGroup.SuspendLayout(); this.updateGroup.SuspendLayout(); this.fetchClimateGroup.SuspendLayout(); // // wwteRibbonTab // this.wwteRibbonTab.Groups.Add(this.dummyGroup); this.wwteRibbonTab.Groups.Add(this.visualizeGroup); this.wwteRibbonTab.Groups.Add(this.viewpointsGroup); this.wwteRibbonTab.Groups.Add(this.machineNameGroup); this.wwteRibbonTab.Groups.Add(this.helpGroup); this.wwteRibbonTab.Groups.Add(this.updateGroup); this.wwteRibbonTab.Groups.Add(this.fetchClimateGroup); this.wwteRibbonTab.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.RibbonTabName; this.wwteRibbonTab.Name = "wwteRibbonTab"; // // dummyGroup // this.dummyGroup.Label = "dummyGroup"; this.dummyGroup.Name = "dummyGroup"; this.dummyGroup.Visible = false; // // visualizeGroup // this.visualizeGroup.Items.Add(this.visualizeSelectionButton); this.visualizeGroup.Items.Add(this.tgBtnAutoMove); this.visualizeGroup.Items.Add(this.layerManagerButton); this.visualizeGroup.Items.Add(this.viewSamplesGallery); this.visualizeGroup.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.RibbonVisualizeGroupName; this.visualizeGroup.Name = "visualizeGroup"; // // visualizeSelectionButton // this.visualizeSelectionButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.visualizeSelectionButton.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.VisualizeSelection; this.visualizeSelectionButton.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.RibbonVisualizeSelectionButtonName; this.visualizeSelectionButton.Name = "visualizeSelectionButton"; this.visualizeSelectionButton.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.VisualizeSelectionButtonScreenTip; this.visualizeSelectionButton.ShowImage = true; this.visualizeSelectionButton.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.VisualizeSelectionButtonToolTip; this.visualizeSelectionButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnVisualizeSelectionButtonClick); // // tgBtnAutoMove // this.tgBtnAutoMove.Label = "Auto Move"; this.tgBtnAutoMove.Name = "tgBtnAutoMove"; // // layerManagerButton // this.layerManagerButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.layerManagerButton.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.LayerManager; this.layerManagerButton.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.RibbonLayerManagerButtonName; this.layerManagerButton.Name = "layerManagerButton"; this.layerManagerButton.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.LayerManagerButtonScreenTip; this.layerManagerButton.ShowImage = true; this.layerManagerButton.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.LayerManagerButtonToolTip; this.layerManagerButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnLayerButtonClick); // // viewSamplesGallery // this.viewSamplesGallery.ColumnCount = 1; this.viewSamplesGallery.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.viewSamplesGallery.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ViewSamples; this.viewSamplesGallery.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ViewSamplesGalleryLabel; this.viewSamplesGallery.Name = "viewSamplesGallery"; this.viewSamplesGallery.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ViewSamplesButtonScreenTip; this.viewSamplesGallery.ShowImage = true; this.viewSamplesGallery.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ViewSamplesButtonToolTip; this.viewSamplesGallery.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnViewSamplesGalleryClick); // // viewpointsGroup // this.viewpointsGroup.Items.Add(this.captureViewpoint); this.viewpointsGroup.Items.Add(this.gotoViewpointGallery); this.viewpointsGroup.Items.Add(this.manageViewpoint); this.viewpointsGroup.Items.Add(this.separator1); this.viewpointsGroup.Items.Add(this.gotoViewpointFromData); this.viewpointsGroup.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ViewpointsGroupLabel; this.viewpointsGroup.Name = "viewpointsGroup"; // // captureViewpoint // this.captureViewpoint.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.captureViewpoint.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.CaptureViewpoint; this.captureViewpoint.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.CaptureViewpointText; this.captureViewpoint.Name = "captureViewpoint"; this.captureViewpoint.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.CaptureViewpointButtonScreenTip; this.captureViewpoint.ShowImage = true; this.captureViewpoint.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.CaptureViewpointButtonSuperTip; this.captureViewpoint.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnCaptureViewpointButtonClick); // // gotoViewpointGallery // this.gotoViewpointGallery.ColumnCount = 1; this.gotoViewpointGallery.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.gotoViewpointGallery.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.GotoViewpoint; this.gotoViewpointGallery.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.GotoViewpointButtonLabel; this.gotoViewpointGallery.Name = "gotoViewpointGallery"; this.gotoViewpointGallery.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.GotoViewpointButtonScreenTip; this.gotoViewpointGallery.ShowImage = true; this.gotoViewpointGallery.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.GotoViewpointButtonSuperTip; this.gotoViewpointGallery.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnGotoViewpointButtonClick); // // manageViewpoint // this.manageViewpoint.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.manageViewpoint.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ManageViewpoint; this.manageViewpoint.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ManageViewpointButtonLabel; this.manageViewpoint.Name = "manageViewpoint"; this.manageViewpoint.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ManageViewpointButtonScreenTip; this.manageViewpoint.ShowImage = true; this.manageViewpoint.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ManageViewpointButtonSuperTip; this.manageViewpoint.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnManageViewpointButtonClick); // // separator1 // this.separator1.Name = "separator1"; // // gotoViewpointFromData // this.gotoViewpointFromData.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.gotoViewpointFromData.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ViewpointFromData; this.gotoViewpointFromData.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.GotoViewpointFromDataButtonLabel; this.gotoViewpointFromData.Name = "gotoViewpointFromData"; this.gotoViewpointFromData.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.GotoViewpointFromDataButtonScreenTip; this.gotoViewpointFromData.ShowImage = true; this.gotoViewpointFromData.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.GotoViewpointFromDataButtonSuperTip; this.gotoViewpointFromData.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnGotoViewpointFromDataButtonClick); // // machineNameGroup // this.machineNameGroup.Items.Add(this.targetMachineButton); this.machineNameGroup.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.TargetMachineLabel; this.machineNameGroup.Name = "machineNameGroup"; // // targetMachineButton // this.targetMachineButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.targetMachineButton.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.Network; this.targetMachineButton.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.TargetMachineButtonLabel; this.targetMachineButton.Name = "targetMachineButton"; this.targetMachineButton.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.TargetMachineButtonScreenTip; this.targetMachineButton.ShowImage = true; this.targetMachineButton.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.TargetMachineButtonToolTip; this.targetMachineButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnTargetMachineButtonClick); // // helpGroup // this.helpGroup.Items.Add(this.contactusButton); this.helpGroup.Items.Add(this.feedbackGallery); this.helpGroup.Items.Add(this.helpButton); this.helpGroup.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.HelpGroupLabel; this.helpGroup.Name = "helpGroup"; // // contactusButton // this.contactusButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.contactusButton.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.Mail; this.contactusButton.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ContactUsButtonLabel; this.contactusButton.Name = "contactusButton"; this.contactusButton.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ContactUsButtonScreenTip; this.contactusButton.ShowImage = true; this.contactusButton.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.ContactUsButtonToolTip; this.contactusButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnContactUsButtonClick); // // feedbackGallery // this.feedbackGallery.ColumnCount = 1; this.feedbackGallery.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.feedbackGallery.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.Feedback; this.feedbackGallery.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.FeedbackGalleryLabel; this.feedbackGallery.Name = "feedbackGallery"; this.feedbackGallery.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.FeedbackGalleryScreenTip; this.feedbackGallery.ShowImage = true; this.feedbackGallery.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.FeedbackGallerySuperTip; this.feedbackGallery.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnFeedbackGalleryClick); // // helpButton // this.helpButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.helpButton.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.Help; this.helpButton.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.HelpButtonLabel; this.helpButton.Name = "helpButton"; this.helpButton.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.HelpButtonScreenTip; this.helpButton.ShowImage = true; this.helpButton.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.HelpButtonToolTip; this.helpButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnHelpButtonClick); // // updateGroup // this.updateGroup.Items.Add(this.downloadUpdatesButton); this.updateGroup.Label = "Update"; this.updateGroup.Name = "updateGroup"; this.updateGroup.Visible = false; // // downloadUpdatesButton // this.downloadUpdatesButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.downloadUpdatesButton.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.DownloadUpdate; this.downloadUpdatesButton.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.DownloadUpdatesButtonLabel; this.downloadUpdatesButton.Name = "downloadUpdatesButton"; this.downloadUpdatesButton.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.DownloadUpdatesButtonScreenTip; this.downloadUpdatesButton.ShowImage = true; this.downloadUpdatesButton.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.DownloadUpdatesButtonToolTip; this.downloadUpdatesButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnDownloadUpdatesButtonClick); // // fetchClimateGroup // this.fetchClimateGroup.Items.Add(this.btnGetLocation); this.fetchClimateGroup.Items.Add(this.btnUpdate); this.fetchClimateGroup.Items.Add(this.separator2); this.fetchClimateGroup.Items.Add(this.fetchClimateButton); this.fetchClimateGroup.Items.Add(this.btnAGUDemo); this.fetchClimateGroup.Items.Add(this.btnIRISDemo); this.fetchClimateGroup.Items.Add(this.btnAboutServices); this.fetchClimateGroup.Label = "Services"; this.fetchClimateGroup.Name = "fetchClimateGroup"; // // btnUpdate // this.btnUpdate.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnUpdate.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.GenerateColumns; this.btnUpdate.Label = "Cuboid"; this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.ShowImage = true; this.btnUpdate.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnUpdate_Click); // // separator2 // this.separator2.Name = "separator2"; // // fetchClimateButton // this.fetchClimateButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.fetchClimateButton.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.Sky; this.fetchClimateButton.Label = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.FetchClimateViewText; this.fetchClimateButton.Name = "fetchClimateButton"; this.fetchClimateButton.ScreenTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.FetchClimateScreenTip; this.fetchClimateButton.ShowImage = true; this.fetchClimateButton.SuperTip = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.FetchClimateToolTip; this.fetchClimateButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.OnFetchClimateButtonClick); // // btnAGUDemo // this.btnAGUDemo.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnAGUDemo.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.demoicon; this.btnAGUDemo.Label = "FC Demo"; this.btnAGUDemo.Name = "btnAGUDemo"; this.btnAGUDemo.ShowImage = true; this.btnAGUDemo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnAGUDemo_Click); // // btnIRISDemo // this.btnIRISDemo.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnIRISDemo.Label = "IRIS"; this.btnIRISDemo.Name = "btnIRISDemo"; this.btnIRISDemo.ShowImage = true; this.btnIRISDemo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnIRISDemo_Click); // // btnAboutServices // this.btnAboutServices.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnAboutServices.Description = "Proof Of Concept explorations in Excel as a data service consumer"; this.btnAboutServices.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.MapColumnInfo; this.btnAboutServices.Label = "About Services"; this.btnAboutServices.Name = "btnAboutServices"; this.btnAboutServices.ScreenTip = "Proof Of Concept explorations in Excel as a data service consumer"; this.btnAboutServices.ShowImage = true; this.btnAboutServices.SuperTip = "Proof Of Concept explorations in Excel as a data service consumer"; // // btnGetLocation // this.btnGetLocation.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnGetLocation.Image = global::Microsoft.Research.Wwt.Excel.Addin.Properties.Resources.location; this.btnGetLocation.Label = "Get Location"; this.btnGetLocation.Name = "btnGetLocation"; this.btnGetLocation.ShowImage = true; this.btnGetLocation.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnGetLocation_Click); // // Ribbon // this.Name = "Ribbon"; this.RibbonType = "Microsoft.Excel.Workbook"; this.Tabs.Add(this.wwteRibbonTab); this.Close += new System.EventHandler(this.OnRibbonClose); this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.OnRibbonLoad); this.wwteRibbonTab.ResumeLayout(false); this.wwteRibbonTab.PerformLayout(); this.visualizeGroup.ResumeLayout(false); this.visualizeGroup.PerformLayout(); this.viewpointsGroup.ResumeLayout(false); this.viewpointsGroup.PerformLayout(); this.machineNameGroup.ResumeLayout(false); this.machineNameGroup.PerformLayout(); this.helpGroup.ResumeLayout(false); this.helpGroup.PerformLayout(); this.updateGroup.ResumeLayout(false); this.updateGroup.PerformLayout(); this.fetchClimateGroup.ResumeLayout(false); this.fetchClimateGroup.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DocumentControlRibbon)); this.DocControl = this.Factory.CreateRibbonTab(); this.Document = this.Factory.CreateRibbonGroup(); this.docPropUpdater = this.Factory.CreateRibbonButton(); this.download = this.Factory.CreateRibbonButton(); this.separator2 = this.Factory.CreateRibbonSeparator(); this.showMarkup = this.Factory.CreateRibbonToggleButton(); this.showSpellingErrors = this.Factory.CreateRibbonToggleButton(); this.openParagraphFormatter = this.Factory.CreateRibbonButton(); this.textToolsGroup = this.Factory.CreateRibbonGroup(); this.insertSectionBreak = this.Factory.CreateRibbonButton(); this.separator1 = this.Factory.CreateRibbonSeparator(); this.headingsDropdown = this.Factory.CreateRibbonGallery(); this.headingOne = this.Factory.CreateRibbonButton(); this.headingTwo = this.Factory.CreateRibbonButton(); this.headingThree = this.Factory.CreateRibbonButton(); this.headingFour = this.Factory.CreateRibbonButton(); this.headingFive = this.Factory.CreateRibbonButton(); this.applyBodyStyle = this.Factory.CreateRibbonButton(); this.applyFigureStyle = this.Factory.CreateRibbonButton(); this.applyMarkingStyle = this.Factory.CreateRibbonButton(); this.keepWithNext = this.Factory.CreateRibbonButton(); this.formatAllFigures = this.Factory.CreateRibbonButton(); this.pageBreakBefore = this.Factory.CreateRibbonButton(); this.group2 = this.Factory.CreateRibbonGroup(); this.box1 = this.Factory.CreateRibbonBox(); this.defaultUL = this.Factory.CreateRibbonButton(); this.unorderedDropdown = this.Factory.CreateRibbonGallery(); this.level_one_uo = this.Factory.CreateRibbonButton(); this.level_two_uo = this.Factory.CreateRibbonButton(); this.level_three_uo = this.Factory.CreateRibbonButton(); this.level_four_uo = this.Factory.CreateRibbonButton(); this.box2 = this.Factory.CreateRibbonBox(); this.defaultOL = this.Factory.CreateRibbonButton(); this.orderedListGallery = this.Factory.CreateRibbonGallery(); this.level_one_ol = this.Factory.CreateRibbonButton(); this.level_two_ol = this.Factory.CreateRibbonButton(); this.acronymTableGroup = this.Factory.CreateRibbonGroup(); this.formatTable = this.Factory.CreateRibbonButton(); this.runAcronymTool = this.Factory.CreateRibbonButton(); this.crossRefsGroup = this.Factory.CreateRibbonGroup(); this.insertCrossReference = this.Factory.CreateRibbonButton(); this.figureRefButton = this.Factory.CreateRibbonButton(); this.tableRefButton = this.Factory.CreateRibbonButton(); this.DocControl.SuspendLayout(); this.Document.SuspendLayout(); this.textToolsGroup.SuspendLayout(); this.group2.SuspendLayout(); this.box1.SuspendLayout(); this.box2.SuspendLayout(); this.acronymTableGroup.SuspendLayout(); this.crossRefsGroup.SuspendLayout(); this.SuspendLayout(); // // DocControl // this.DocControl.Groups.Add(this.Document); this.DocControl.Groups.Add(this.textToolsGroup); this.DocControl.Groups.Add(this.group2); this.DocControl.Groups.Add(this.acronymTableGroup); this.DocControl.Groups.Add(this.crossRefsGroup); this.DocControl.Label = "Doc Control"; this.DocControl.Name = "DocControl"; // // Document // this.Document.Items.Add(this.docPropUpdater); this.Document.Items.Add(this.download); this.Document.Items.Add(this.separator2); this.Document.Items.Add(this.showMarkup); this.Document.Items.Add(this.showSpellingErrors); this.Document.Items.Add(this.openParagraphFormatter); this.Document.Label = "Document"; this.Document.Name = "Document"; // // docPropUpdater // this.docPropUpdater.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.docPropUpdater.Image = global::DocumentControlToolbar.Properties.Resources.properties_icon_raw; this.docPropUpdater.Label = "Document Properties Editor"; this.docPropUpdater.Name = "docPropUpdater"; this.docPropUpdater.ScreenTip = "The Document Properties Editor is a window that allows you to easily edit the com" + "pany\'s custom document properties."; this.docPropUpdater.ShowImage = true; this.docPropUpdater.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.docPropUpdater_Click); // // download // this.download.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.download.Image = global::DocumentControlToolbar.Properties.Resources.import_styles; this.download.Label = "Import Styles"; this.download.Name = "download"; this.download.ScreenTip = "Imports all missing styles into the document and resets any customized styles."; this.download.ShowImage = true; this.download.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.headings_Click); // // separator2 // this.separator2.Name = "separator2"; // // showMarkup // this.showMarkup.Image = global::DocumentControlToolbar.Properties.Resources.show_markup_small; this.showMarkup.Label = "Show"; this.showMarkup.Name = "showMarkup"; this.showMarkup.ShowImage = true; this.showMarkup.ShowLabel = false; this.showMarkup.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.showMarkup_Click); // // showSpellingErrors // this.showSpellingErrors.Image = global::DocumentControlToolbar.Properties.Resources.spell_check_small; this.showSpellingErrors.Label = "toggleButton1"; this.showSpellingErrors.Name = "showSpellingErrors"; this.showSpellingErrors.ShowImage = true; this.showSpellingErrors.ShowLabel = false; this.showSpellingErrors.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.showSpellingErrors_Click_1); // // openParagraphFormatter // this.openParagraphFormatter.Image = global::DocumentControlToolbar.Properties.Resources.open_paragraph_dialog1; this.openParagraphFormatter.Label = "button1"; this.openParagraphFormatter.Name = "openParagraphFormatter"; this.openParagraphFormatter.ShowImage = true; this.openParagraphFormatter.ShowLabel = false; this.openParagraphFormatter.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.openParagraphFormatter_Click); // // textToolsGroup // this.textToolsGroup.Items.Add(this.insertSectionBreak); this.textToolsGroup.Items.Add(this.separator1); this.textToolsGroup.Items.Add(this.headingsDropdown); this.textToolsGroup.Items.Add(this.applyBodyStyle); this.textToolsGroup.Items.Add(this.applyFigureStyle); this.textToolsGroup.Items.Add(this.applyMarkingStyle); this.textToolsGroup.Items.Add(this.keepWithNext); this.textToolsGroup.Items.Add(this.formatAllFigures); this.textToolsGroup.Items.Add(this.pageBreakBefore); this.textToolsGroup.Label = "Style"; this.textToolsGroup.Name = "textToolsGroup"; // // insertSectionBreak // this.insertSectionBreak.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.insertSectionBreak.Image = global::DocumentControlToolbar.Properties.Resources.section_break_icon; this.insertSectionBreak.Label = "Insert Section Break"; this.insertSectionBreak.Name = "insertSectionBreak"; this.insertSectionBreak.ScreenTip = "Inserts a section break before the cursor\'s position in the document."; this.insertSectionBreak.ShowImage = true; this.insertSectionBreak.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.insertSectionBreak_Click); // // separator1 // this.separator1.Name = "separator1"; // // headingsDropdown // this.headingsDropdown.Buttons.Add(this.headingOne); this.headingsDropdown.Buttons.Add(this.headingTwo); this.headingsDropdown.Buttons.Add(this.headingThree); this.headingsDropdown.Buttons.Add(this.headingFour); this.headingsDropdown.Buttons.Add(this.headingFive); this.headingsDropdown.ColumnCount = 1; this.headingsDropdown.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.headingsDropdown.Image = global::DocumentControlToolbar.Properties.Resources.headings_icon; this.headingsDropdown.Label = "Headings"; this.headingsDropdown.Name = "headingsDropdown"; this.headingsDropdown.ScreenTip = "This dropdown provides an easy way to style heading levels."; this.headingsDropdown.ShowImage = true; // // headingOne // this.headingOne.Label = "Level 1"; this.headingOne.Name = "headingOne"; this.headingOne.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.headingOne_Click); // // headingTwo // this.headingTwo.Label = "Level 2"; this.headingTwo.Name = "headingTwo"; this.headingTwo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.headingTwo_Click); // // headingThree // this.headingThree.Label = "Level 3"; this.headingThree.Name = "headingThree"; this.headingThree.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.headingThree_Click); // // headingFour // this.headingFour.Label = "Level 4"; this.headingFour.Name = "headingFour"; this.headingFour.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.headingFour_Click); // // headingFive // this.headingFive.Label = "Level 5"; this.headingFive.Name = "headingFive"; this.headingFive.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.headingFive_Click); // // applyBodyStyle // this.applyBodyStyle.Image = global::DocumentControlToolbar.Properties.Resources.apply_style_small_icon; this.applyBodyStyle.Label = "Body"; this.applyBodyStyle.Name = "applyBodyStyle"; this.applyBodyStyle.ScreenTip = "Applies the body style to a selected paragraph or selected paragraphs."; this.applyBodyStyle.ShowImage = true; this.applyBodyStyle.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.applyBodyStyle_Click); // // applyFigureStyle // this.applyFigureStyle.Image = global::DocumentControlToolbar.Properties.Resources.figure_style_small; this.applyFigureStyle.Label = "Figure"; this.applyFigureStyle.Name = "applyFigureStyle"; this.applyFigureStyle.ScreenTip = "Applies the figure style to a selected figure or paragraph."; this.applyFigureStyle.ShowImage = true; this.applyFigureStyle.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.applyFigureStyle_Click); // // applyMarkingStyle // this.applyMarkingStyle.Image = global::DocumentControlToolbar.Properties.Resources.marking_style_small; this.applyMarkingStyle.Label = "Marking"; this.applyMarkingStyle.Name = "applyMarkingStyle"; this.applyMarkingStyle.ScreenTip = "Applys the marking style to a selected paragraph or paragraphs."; this.applyMarkingStyle.ShowImage = true; this.applyMarkingStyle.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.applyMarkingStyle_Click); // // keepWithNext // this.keepWithNext.Image = global::DocumentControlToolbar.Properties.Resources.keep_with_next_small; this.keepWithNext.Label = "Keep With Next "; this.keepWithNext.Name = "keepWithNext"; this.keepWithNext.ScreenTip = "Keeps the selected paragraph with the next paragraph."; this.keepWithNext.ShowImage = true; this.keepWithNext.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.keepWithNext_Click); // // formatAllFigures // this.formatAllFigures.Image = global::DocumentControlToolbar.Properties.Resources.format_all_figures; this.formatAllFigures.Label = "Format All Figures"; this.formatAllFigures.Name = "formatAllFigures"; this.formatAllFigures.ScreenTip = "Applies the figure style to all figures in the document."; this.formatAllFigures.ShowImage = true; this.formatAllFigures.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.formatAllFigures_Click); // // pageBreakBefore // this.pageBreakBefore.Image = global::DocumentControlToolbar.Properties.Resources.page_break_before_small_icon; this.pageBreakBefore.Label = "Page Break Before "; this.pageBreakBefore.Name = "pageBreakBefore"; this.pageBreakBefore.ScreenTip = "Applies the \"insert page break before\" property to a selected paragraph. "; this.pageBreakBefore.ShowImage = true; this.pageBreakBefore.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.pageBreakBefore_Click); // // group2 // this.group2.Items.Add(this.box1); this.group2.Items.Add(this.box2); this.group2.Label = "List"; this.group2.Name = "group2"; // // box1 // this.box1.Items.Add(this.defaultUL); this.box1.Items.Add(this.unorderedDropdown); this.box1.Name = "box1"; // // defaultUL // this.defaultUL.Image = global::DocumentControlToolbar.Properties.Resources.apply_list_small_icon; this.defaultUL.Label = "Apply Default UL"; this.defaultUL.Name = "defaultUL"; this.defaultUL.ScreenTip = "Applies the default unordered list to a selected paragraph or selected paragraphs" + "."; this.defaultUL.ShowImage = true; this.defaultUL.ShowLabel = false; this.defaultUL.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.defaultUL_Click); // // unorderedDropdown // this.unorderedDropdown.Buttons.Add(this.level_one_uo); this.unorderedDropdown.Buttons.Add(this.level_two_uo); this.unorderedDropdown.Buttons.Add(this.level_three_uo); this.unorderedDropdown.Buttons.Add(this.level_four_uo); this.unorderedDropdown.Label = " Apply UL"; this.unorderedDropdown.Name = "unorderedDropdown"; this.unorderedDropdown.ScreenTip = "Provides an easy and consistent way to set unordered list levels. "; // // level_one_uo // this.level_one_uo.Image = global::DocumentControlToolbar.Properties.Resources.level_one_ul; this.level_one_uo.Label = "Level 1"; this.level_one_uo.Name = "level_one_uo"; this.level_one_uo.ShowImage = true; this.level_one_uo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.level_one_uo_Click); // // level_two_uo // this.level_two_uo.Image = global::DocumentControlToolbar.Properties.Resources.level_two_ul; this.level_two_uo.Label = "Level 2"; this.level_two_uo.Name = "level_two_uo"; this.level_two_uo.ShowImage = true; this.level_two_uo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.level_two_uo_Click); // // level_three_uo // this.level_three_uo.Image = global::DocumentControlToolbar.Properties.Resources.level_three_ul; this.level_three_uo.Label = "Level 3"; this.level_three_uo.Name = "level_three_uo"; this.level_three_uo.ShowImage = true; this.level_three_uo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.level_three_uo_Click); // // level_four_uo // this.level_four_uo.Image = global::DocumentControlToolbar.Properties.Resources.level_four_ul; this.level_four_uo.Label = "Level 4"; this.level_four_uo.Name = "level_four_uo"; this.level_four_uo.ShowImage = true; this.level_four_uo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.level_four_uo_Click); // // box2 // this.box2.Items.Add(this.defaultOL); this.box2.Items.Add(this.orderedListGallery); this.box2.Name = "box2"; // // defaultOL // this.defaultOL.Image = global::DocumentControlToolbar.Properties.Resources.apply_o_list_small_icon; this.defaultOL.Label = "Apply Default OL"; this.defaultOL.Name = "defaultOL"; this.defaultOL.ScreenTip = "Applies the default ordered list to a selected paragraph or selected paragraphs."; this.defaultOL.ShowImage = true; this.defaultOL.ShowLabel = false; this.defaultOL.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.defaultOL_Click); // // orderedListGallery // this.orderedListGallery.Buttons.Add(this.level_one_ol); this.orderedListGallery.Buttons.Add(this.level_two_ol); this.orderedListGallery.Label = " Apply OL"; this.orderedListGallery.Name = "orderedListGallery"; this.orderedListGallery.ScreenTip = "Provides an easy and consistent way to set ordered list levels."; // // level_one_ol // this.level_one_ol.Image = global::DocumentControlToolbar.Properties.Resources.level_one_ol; this.level_one_ol.Label = "Level 1"; this.level_one_ol.Name = "level_one_ol"; this.level_one_ol.ShowImage = true; this.level_one_ol.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.level_one_ol_Click); // // level_two_ol // this.level_two_ol.Image = global::DocumentControlToolbar.Properties.Resources.level_two_ol; this.level_two_ol.Label = "Level 2"; this.level_two_ol.Name = "level_two_ol"; this.level_two_ol.ShowImage = true; this.level_two_ol.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.level_two_ol_Click); // // acronymTableGroup // this.acronymTableGroup.Items.Add(this.formatTable); this.acronymTableGroup.Items.Add(this.runAcronymTool); this.acronymTableGroup.Label = "Table"; this.acronymTableGroup.Name = "acronymTableGroup"; // // formatTable // this.formatTable.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.formatTable.Image = global::DocumentControlToolbar.Properties.Resources.table_icon; this.formatTable.Label = "Format Table"; this.formatTable.Name = "formatTable"; this.formatTable.ScreenTip = "Formats a table in the official company style."; this.formatTable.ShowImage = true; this.formatTable.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.formatTable_Click); // // runAcronymTool // this.runAcronymTool.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.runAcronymTool.Image = ((System.Drawing.Image)(resources.GetObject("runAcronymTool.Image"))); this.runAcronymTool.Label = "Acronym Table Updater"; this.runAcronymTool.Name = "runAcronymTool"; this.runAcronymTool.ScreenTip = "Proofs the document\'s acronym table. Acronyms that do not appear in the document " + "are highlighted in red. Acronyms found in the document are added to the table an" + "d highlighted in yellow."; this.runAcronymTool.ShowImage = true; this.runAcronymTool.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.runAcronymTool_Click); // // crossRefsGroup // this.crossRefsGroup.Items.Add(this.insertCrossReference); this.crossRefsGroup.Items.Add(this.figureRefButton); this.crossRefsGroup.Items.Add(this.tableRefButton); this.crossRefsGroup.Label = "Cross-references"; this.crossRefsGroup.Name = "crossRefsGroup"; // // insertCrossReference // this.insertCrossReference.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.insertCrossReference.Image = global::DocumentControlToolbar.Properties.Resources.insert_cross_reference_large; this.insertCrossReference.Label = "Cross- reference"; this.insertCrossReference.Name = "insertCrossReference"; this.insertCrossReference.ShowImage = true; this.insertCrossReference.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.insertCrossReference_Click); // // figureRefButton // this.figureRefButton.Image = global::DocumentControlToolbar.Properties.Resources.insert_figure_ref_small_icon; this.figureRefButton.Label = " Insert Figure Caption"; this.figureRefButton.Name = "figureRefButton"; this.figureRefButton.ScreenTip = "Inserts a figure caption and styles it in the marking style."; this.figureRefButton.ShowImage = true; this.figureRefButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.figureRefButton_Click); // // tableRefButton // this.tableRefButton.Image = global::DocumentControlToolbar.Properties.Resources.insert_table_ref_small_icon; this.tableRefButton.Label = " Insert Table Caption"; this.tableRefButton.Name = "tableRefButton"; this.tableRefButton.ScreenTip = "Inserts a table caption and styles it in the marking style."; this.tableRefButton.ShowImage = true; this.tableRefButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.tableRefButton_Click); // // DocumentControlRibbon // this.Name = "DocumentControlRibbon"; this.RibbonType = "Microsoft.Word.Document"; this.Tabs.Add(this.DocControl); this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.Ribbon1_Load); this.DocControl.ResumeLayout(false); this.DocControl.PerformLayout(); this.Document.ResumeLayout(false); this.Document.PerformLayout(); this.textToolsGroup.ResumeLayout(false); this.textToolsGroup.PerformLayout(); this.group2.ResumeLayout(false); this.group2.PerformLayout(); this.box1.ResumeLayout(false); this.box1.PerformLayout(); this.box2.ResumeLayout(false); this.box2.PerformLayout(); this.acronymTableGroup.ResumeLayout(false); this.acronymTableGroup.PerformLayout(); this.crossRefsGroup.ResumeLayout(false); this.crossRefsGroup.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 请勿 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem1 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem2 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem3 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem4 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem5 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem6 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem7 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem8 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); this.tControls = new Microsoft.Office.Tools.Ribbon.RibbonTab(); this.gButtons = new Microsoft.Office.Tools.Ribbon.RibbonGroup(); this.btnActionsPane = new Microsoft.Office.Tools.Ribbon.RibbonToggleButton(); this.bgMoodFace = new Microsoft.Office.Tools.Ribbon.RibbonButtonGroup(); this.btnHappy = new Microsoft.Office.Tools.Ribbon.RibbonToggleButton(); this.btnNeutral = new Microsoft.Office.Tools.Ribbon.RibbonToggleButton(); this.btnSad = new Microsoft.Office.Tools.Ribbon.RibbonToggleButton(); this.sbtnAlign = new Microsoft.Office.Tools.Ribbon.RibbonSplitButton(); this.btnLeft = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.btnCenter = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.btnRight = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.separator1 = new Microsoft.Office.Tools.Ribbon.RibbonSeparator(); this.ddFormatChart = new Microsoft.Office.Tools.Ribbon.RibbonDropDown(); this.cbMRUFind = new Microsoft.Office.Tools.Ribbon.RibbonComboBox(); this.galShapes = new Microsoft.Office.Tools.Ribbon.RibbonGallery(); this.gDynamicMenu = new Microsoft.Office.Tools.Ribbon.RibbonGroup(); this.mDynamicMenu = new Microsoft.Office.Tools.Ribbon.RibbonMenu(); this.cbButton = new Microsoft.Office.Tools.Ribbon.RibbonCheckBox(); this.cbSeparator = new Microsoft.Office.Tools.Ribbon.RibbonCheckBox(); this.cbSubMenu = new Microsoft.Office.Tools.Ribbon.RibbonCheckBox(); this.tControls.SuspendLayout(); this.gButtons.SuspendLayout(); this.bgMoodFace.SuspendLayout(); this.gDynamicMenu.SuspendLayout(); this.SuspendLayout(); // // tControls // this.tControls.Groups.Add(this.gButtons); this.tControls.Groups.Add(this.gDynamicMenu); this.tControls.Label = "Ribbon Control Sample"; this.tControls.Name = "tControls"; // // gButtons // this.gButtons.Items.Add(this.btnActionsPane); this.gButtons.Items.Add(this.bgMoodFace); this.gButtons.Items.Add(this.sbtnAlign); this.gButtons.Items.Add(this.separator1); this.gButtons.Items.Add(this.ddFormatChart); this.gButtons.Items.Add(this.cbMRUFind); this.gButtons.Items.Add(this.galShapes); this.gButtons.Label = "Working with Sheets"; this.gButtons.Name = "gButtons"; // // btnActionsPane // this.btnActionsPane.Label = "Show Actions Pane"; this.btnActionsPane.Name = "btnActionsPane"; this.btnActionsPane.ScreenTip = "Toggle Button"; this.btnActionsPane.ShowImage = true; this.btnActionsPane.SuperTip = "A ToggleButton that appears pressed or unpressed. Click the ToggleButton to show" + "/hide the Actions Pane."; this.btnActionsPane.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.btnActionsPane_Click); // // bgMoodFace // this.bgMoodFace.Items.Add(this.btnHappy); this.bgMoodFace.Items.Add(this.btnNeutral); this.bgMoodFace.Items.Add(this.btnSad); this.bgMoodFace.Name = "bgMoodFace"; // // btnHappy // this.btnHappy.Image = global::RibbonControlsExcelWorkbook.Properties.Resources.happy; this.btnHappy.Label = "toggleButton1"; this.btnHappy.Name = "btnHappy"; this.btnHappy.ShowImage = true; this.btnHappy.ShowLabel = false; this.btnHappy.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.btnHappy_Click); // // btnNeutral // this.btnNeutral.Image = global::RibbonControlsExcelWorkbook.Properties.Resources.Neutral; this.btnNeutral.Label = "toggleButton2"; this.btnNeutral.Name = "btnNeutral"; this.btnNeutral.ShowImage = true; this.btnNeutral.ShowLabel = false; this.btnNeutral.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.btnNeutral_Click); // // btnSad // this.btnSad.Image = global::RibbonControlsExcelWorkbook.Properties.Resources.sad; this.btnSad.Label = "toggleButton3"; this.btnSad.Name = "btnSad"; this.btnSad.ShowImage = true; this.btnSad.ShowLabel = false; this.btnSad.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.btnSad_Click); // // sbtnAlign // this.sbtnAlign.Items.Add(this.btnLeft); this.sbtnAlign.Items.Add(this.btnCenter); this.sbtnAlign.Items.Add(this.btnRight); this.sbtnAlign.Label = "Alignment"; this.sbtnAlign.Name = "sbtnAlign"; this.sbtnAlign.OfficeImageId = "AlignCenter"; this.sbtnAlign.ScreenTip = "Split Button"; this.sbtnAlign.SuperTip = "A Split Button is a button with a menu. Click the button to center align text in" + " cell A4 or select the menu for other alignment options."; this.sbtnAlign.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.sbtnAlign_Click); // // btnLeft // this.btnLeft.Label = "Left Align"; this.btnLeft.Name = "btnLeft"; this.btnLeft.OfficeImageId = "AlignLeft"; this.btnLeft.ScreenTip = "Button"; this.btnLeft.ShowImage = true; this.btnLeft.SuperTip = "Button in a Split Button."; this.btnLeft.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.btnLeft_Click); // // btnCenter // this.btnCenter.Label = "Center Align"; this.btnCenter.Name = "btnCenter"; this.btnCenter.OfficeImageId = "AlignCenter"; this.btnCenter.ScreenTip = "Button"; this.btnCenter.ShowImage = true; this.btnCenter.SuperTip = "Button in a Split Button."; this.btnCenter.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.btnCenter_Click); // // btnRight // this.btnRight.Label = "Right Align"; this.btnRight.Name = "btnRight"; this.btnRight.OfficeImageId = "AlignRight"; this.btnRight.ScreenTip = "Button"; this.btnRight.ShowImage = true; this.btnRight.SuperTip = "Button in a Split Button."; this.btnRight.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.btnRight_Click); // // separator1 // this.separator1.Name = "separator1"; // // ddFormatChart // ribbonDropDownItem1.Label = "Bar"; ribbonDropDownItem1.OfficeImageId = "ChartTypeBarInsertGallery"; ribbonDropDownItem1.ScreenTip = "DropDown Item"; ribbonDropDownItem1.SuperTip = "Select DropDown Item to format the chart."; ribbonDropDownItem2.Label = "Column"; ribbonDropDownItem2.OfficeImageId = "ChartTypeColumnInsertGallery"; ribbonDropDownItem2.ScreenTip = "DropDown Item"; ribbonDropDownItem2.SuperTip = "Select DropDown Item to format the chart."; ribbonDropDownItem3.Label = "Area"; ribbonDropDownItem3.OfficeImageId = "ChartTypeAreaInsertGallery"; ribbonDropDownItem3.ScreenTip = "DropDown Item"; ribbonDropDownItem3.SuperTip = "Select DropDown Item to format the chart."; ribbonDropDownItem4.Label = "Pie"; ribbonDropDownItem4.OfficeImageId = "ChartTypePieInsertGallery"; ribbonDropDownItem4.ScreenTip = "DropDown Item"; ribbonDropDownItem4.SuperTip = "Select DropDown Item to format the chart."; this.ddFormatChart.Items.Add(ribbonDropDownItem1); this.ddFormatChart.Items.Add(ribbonDropDownItem2); this.ddFormatChart.Items.Add(ribbonDropDownItem3); this.ddFormatChart.Items.Add(ribbonDropDownItem4); this.ddFormatChart.Label = "Format Chart"; this.ddFormatChart.Name = "ddFormatChart"; this.ddFormatChart.ScreenTip = "Drop Down"; this.ddFormatChart.SuperTip = "A drop down list of options. Select a chart type to format the chart on Sheet1."; this.ddFormatChart.SelectionChanged += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.ddFormatChart_SelectionChanged); // // cbMRUFind // ribbonDropDownItem5.Label = "Q1"; ribbonDropDownItem6.Label = "Q2"; ribbonDropDownItem7.Label = "Q3"; ribbonDropDownItem8.Label = "Q4"; this.cbMRUFind.Items.Add(ribbonDropDownItem5); this.cbMRUFind.Items.Add(ribbonDropDownItem6); this.cbMRUFind.Items.Add(ribbonDropDownItem7); this.cbMRUFind.Items.Add(ribbonDropDownItem8); this.cbMRUFind.Label = "MRU Find"; this.cbMRUFind.Name = "cbMRUFind"; this.cbMRUFind.ScreenTip = "Combo Box"; this.cbMRUFind.SizeString = "Enter or select search text."; this.cbMRUFind.SuperTip = "ComboBox is a EditBox with a DropDown. Select text from the list to find it in t" + "he spreadsheet. Or, enter your own search string to add to the list."; this.cbMRUFind.Text = "Enter or select search text."; this.cbMRUFind.TextChanged += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.cbMRUFind_TextChanged); // // galShapes // this.galShapes.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.galShapes.Image = global::RibbonControlsExcelWorkbook.Properties.Resources.AvocadoGreen; this.galShapes.Label = "Color"; this.galShapes.Name = "galShapes"; this.galShapes.ScreenTip = "Gallery"; this.galShapes.ShowImage = true; this.galShapes.SuperTip = "A gallery is a multi-dimensional dropdown. This gallery will format insert a dif" + "ferent colored sphere on to Sheet1."; this.galShapes.ItemsLoading += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.galShapes_ItemsLoading); this.galShapes.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.galShapes_Click); // // gDynamicMenu // this.gDynamicMenu.Items.Add(this.mDynamicMenu); this.gDynamicMenu.Items.Add(this.cbButton); this.gDynamicMenu.Items.Add(this.cbSeparator); this.gDynamicMenu.Items.Add(this.cbSubMenu); this.gDynamicMenu.Label = "Build Dynamic Menu"; this.gDynamicMenu.Name = "gDynamicMenu"; // // mDynamicMenu // this.mDynamicMenu.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.mDynamicMenu.Dynamic = true; this.mDynamicMenu.Label = "Dynamic Menu"; this.mDynamicMenu.Name = "mDynamicMenu"; this.mDynamicMenu.OfficeImageId = "QueryAppend"; this.mDynamicMenu.ScreenTip = "Dynamic Menu"; this.mDynamicMenu.ShowImage = true; this.mDynamicMenu.SuperTip = "This is a dynamic menu. Use the checkboxes at the right to determine which contr" + "ols to add at runtime."; this.mDynamicMenu.ItemsLoading += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.mDynamicMenu_ItemsLoading); // // cbButton // this.cbButton.Label = "Button"; this.cbButton.Name = "cbButton"; this.cbButton.ScreenTip = "Check Box"; this.cbButton.SuperTip = "Select to add control to Dynamic Menu."; // // cbSeparator // this.cbSeparator.Label = "Separator"; this.cbSeparator.Name = "cbSeparator"; this.cbSeparator.ScreenTip = "Check Box"; this.cbSeparator.SuperTip = "Select to add control to Dynamic Menu."; // // cbSubMenu // this.cbSubMenu.Label = "SubMenu"; this.cbSubMenu.Name = "cbSubMenu"; this.cbSubMenu.ScreenTip = "Check Box"; this.cbSubMenu.SuperTip = "Select to add control to Dynamic Menu."; // // RibbonControls // this.Name = "RibbonControls"; this.RibbonType = "Microsoft.Excel.Workbook"; this.StartFromScratch = true; this.Tabs.Add(this.tControls); this.Load += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonUIEventArgs>(this.RibbonControls_Load); this.tControls.ResumeLayout(false); this.tControls.PerformLayout(); this.gButtons.ResumeLayout(false); this.gButtons.PerformLayout(); this.bgMoodFace.ResumeLayout(false); this.bgMoodFace.PerformLayout(); this.gDynamicMenu.ResumeLayout(false); this.gDynamicMenu.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem1 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem2 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem3 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem4 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem5 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem6 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem7 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem8 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem9 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem10 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItem11 = new Microsoft.Office.Tools.Ribbon.RibbonDropDownItem(); this.excel2earth = new Microsoft.Office.Tools.Ribbon.RibbonTab(); this.excel2earth_group = new Microsoft.Office.Tools.Ribbon.RibbonGroup(); this.Main_button = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.Simple_button = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.GoogleEarth_button = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.QuickCoordinateConversion_group = new Microsoft.Office.Tools.Ribbon.RibbonGroup(); this.ConvertMGRS_button = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.MGRS_editBox = new Microsoft.Office.Tools.Ribbon.RibbonEditBox(); this.separator1 = new Microsoft.Office.Tools.Ribbon.RibbonSeparator(); this.ConvertLatLon_button = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.LatLon_box = new Microsoft.Office.Tools.Ribbon.RibbonBox(); this.Latitude_editBox = new Microsoft.Office.Tools.Ribbon.RibbonEditBox(); this.Longitude_editBox = new Microsoft.Office.Tools.Ribbon.RibbonEditBox(); this.LatLonFromat_dropDown = new Microsoft.Office.Tools.Ribbon.RibbonDropDown(); this.ConvertColumns_group = new Microsoft.Office.Tools.Ribbon.RibbonGroup(); this.From_dropDown = new Microsoft.Office.Tools.Ribbon.RibbonDropDown(); this.To_dropDown = new Microsoft.Office.Tools.Ribbon.RibbonDropDown(); this.ConvertSelectedColumns_button = new Microsoft.Office.Tools.Ribbon.RibbonButton(); this.excel2earth.SuspendLayout(); this.excel2earth_group.SuspendLayout(); this.QuickCoordinateConversion_group.SuspendLayout(); this.LatLon_box.SuspendLayout(); this.ConvertColumns_group.SuspendLayout(); this.SuspendLayout(); // // excel2earth // this.excel2earth.Groups.Add(this.excel2earth_group); this.excel2earth.Groups.Add(this.QuickCoordinateConversion_group); this.excel2earth.Groups.Add(this.ConvertColumns_group); this.excel2earth.Label = "excel2earth"; this.excel2earth.Name = "excel2earth"; // // excel2earth_group // this.excel2earth_group.Items.Add(this.Main_button); this.excel2earth_group.Items.Add(this.Simple_button); this.excel2earth_group.Items.Add(this.GoogleEarth_button); this.excel2earth_group.Label = "excel2earth"; this.excel2earth_group.Name = "excel2earth_group"; // // Main_button // this.Main_button.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.Main_button.Image = global::excel2earth.Properties.Resources.excel2earth; this.Main_button.Label = "Main"; this.Main_button.Name = "Main_button"; this.Main_button.OfficeImageId = "exportword"; this.Main_button.ShowImage = true; this.Main_button.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.Main_button_Click); // // Simple_button // this.Simple_button.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.Simple_button.Image = global::excel2earth.Properties.Resources.ylw_pushpin; this.Simple_button.Label = "Simple Point"; this.Simple_button.Name = "Simple_button"; this.Simple_button.ShowImage = true; this.Simple_button.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.Simple_button_Click); // // GoogleEarth_button // this.GoogleEarth_button.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.GoogleEarth_button.Image = global::excel2earth.Properties.Resources.earth_client_48; this.GoogleEarth_button.Label = "Google Earth"; this.GoogleEarth_button.Name = "GoogleEarth_button"; this.GoogleEarth_button.ShowImage = true; this.GoogleEarth_button.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.GoogleEarth_button_Click); // // QuickCoordinateConversion_group // this.QuickCoordinateConversion_group.Items.Add(this.ConvertMGRS_button); this.QuickCoordinateConversion_group.Items.Add(this.MGRS_editBox); this.QuickCoordinateConversion_group.Items.Add(this.separator1); this.QuickCoordinateConversion_group.Items.Add(this.ConvertLatLon_button); this.QuickCoordinateConversion_group.Items.Add(this.LatLon_box); this.QuickCoordinateConversion_group.Items.Add(this.LatLonFromat_dropDown); this.QuickCoordinateConversion_group.Label = "Quick Coordinate Conversion"; this.QuickCoordinateConversion_group.Name = "QuickCoordinateConversion_group"; // // ConvertMGRS_button // this.ConvertMGRS_button.Label = "Convert MGRS"; this.ConvertMGRS_button.Name = "ConvertMGRS_button"; this.ConvertMGRS_button.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.ConvertMGRS_button_Click); // // MGRS_editBox // this.MGRS_editBox.Label = "MGRS:"; this.MGRS_editBox.Name = "MGRS_editBox"; this.MGRS_editBox.SizeString = "31NEA0000000000"; this.MGRS_editBox.Text = null; // // separator1 // this.separator1.Name = "separator1"; // // ConvertLatLon_button // this.ConvertLatLon_button.Label = "Convert Lat/Lon"; this.ConvertLatLon_button.Name = "ConvertLatLon_button"; this.ConvertLatLon_button.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.ConvertLatLon_button_Click); // // LatLon_box // this.LatLon_box.Items.Add(this.Latitude_editBox); this.LatLon_box.Items.Add(this.Longitude_editBox); this.LatLon_box.Name = "LatLon_box"; // // Latitude_editBox // this.Latitude_editBox.Label = "Lat:"; this.Latitude_editBox.Name = "Latitude_editBox"; this.Latitude_editBox.SizeString = "000°00\'00.00\"N"; this.Latitude_editBox.Text = null; // // Longitude_editBox // this.Longitude_editBox.Label = "Lon:"; this.Longitude_editBox.Name = "Longitude_editBox"; this.Longitude_editBox.SizeString = "00°00\'00.00\"E"; this.Longitude_editBox.Text = null; // // LatLonFromat_dropDown // ribbonDropDownItem1.Label = "Decimal Degrees"; ribbonDropDownItem2.Label = "Degrees Decimal Minutes"; ribbonDropDownItem3.Label = "Degrees Minutes Seconds"; this.LatLonFromat_dropDown.Items.Add(ribbonDropDownItem1); this.LatLonFromat_dropDown.Items.Add(ribbonDropDownItem2); this.LatLonFromat_dropDown.Items.Add(ribbonDropDownItem3); this.LatLonFromat_dropDown.Label = "Format: "; this.LatLonFromat_dropDown.Name = "LatLonFromat_dropDown"; this.LatLonFromat_dropDown.ShowItemImage = false; this.LatLonFromat_dropDown.SizeString = "Degrees Minutes Seconds"; this.LatLonFromat_dropDown.SelectionChanged += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.LatLonFromat_dropDown_SelectionChanged); // // ConvertColumns_group // this.ConvertColumns_group.Items.Add(this.From_dropDown); this.ConvertColumns_group.Items.Add(this.To_dropDown); this.ConvertColumns_group.Items.Add(this.ConvertSelectedColumns_button); this.ConvertColumns_group.Label = "Convert Columns"; this.ConvertColumns_group.Name = "ConvertColumns_group"; // // From_dropDown // ribbonDropDownItem4.Label = "Military Grid Reference System"; ribbonDropDownItem5.Label = "Decimal Degrees"; ribbonDropDownItem6.Label = "Degrees Decimal Minutes"; ribbonDropDownItem7.Label = "Degrees Minutes Seconds"; this.From_dropDown.Items.Add(ribbonDropDownItem4); this.From_dropDown.Items.Add(ribbonDropDownItem5); this.From_dropDown.Items.Add(ribbonDropDownItem6); this.From_dropDown.Items.Add(ribbonDropDownItem7); this.From_dropDown.Label = "From:"; this.From_dropDown.Name = "From_dropDown"; this.From_dropDown.SizeString = "Military Grid Reference System"; // // To_dropDown // ribbonDropDownItem8.Label = "Military Grid Reference System"; ribbonDropDownItem9.Label = "Decimal Degrees"; ribbonDropDownItem10.Label = "Degrees Decimal Minutes"; ribbonDropDownItem11.Label = "Degrees Minutes Seconds"; this.To_dropDown.Items.Add(ribbonDropDownItem8); this.To_dropDown.Items.Add(ribbonDropDownItem9); this.To_dropDown.Items.Add(ribbonDropDownItem10); this.To_dropDown.Items.Add(ribbonDropDownItem11); this.To_dropDown.Label = "To:"; this.To_dropDown.Name = "To_dropDown"; this.To_dropDown.SizeString = "Military Grid Reference System"; // // ConvertSelectedColumns_button // this.ConvertSelectedColumns_button.Label = "Convert Selected Column(s)"; this.ConvertSelectedColumns_button.Name = "ConvertSelectedColumns_button"; this.ConvertSelectedColumns_button.Click += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonControlEventArgs>(this.SelectAndConvertColumns_button_Click); // // excel2earth_Ribbon // this.Name = "excel2earth_Ribbon"; this.RibbonType = "Microsoft.Excel.Workbook"; this.Tabs.Add(this.excel2earth); this.Load += new System.EventHandler<Microsoft.Office.Tools.Ribbon.RibbonUIEventArgs>(this.excel2earth_Ribbon_Load); this.excel2earth.ResumeLayout(false); this.excel2earth.PerformLayout(); this.excel2earth_group.ResumeLayout(false); this.excel2earth_group.PerformLayout(); this.QuickCoordinateConversion_group.ResumeLayout(false); this.QuickCoordinateConversion_group.PerformLayout(); this.LatLon_box.ResumeLayout(false); this.LatLon_box.PerformLayout(); this.ConvertColumns_group.ResumeLayout(false); this.ConvertColumns_group.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tab1 = this.Factory.CreateRibbonTab(); this.group1 = this.Factory.CreateRibbonGroup(); this.btnSetings = this.Factory.CreateRibbonButton(); this.group2 = this.Factory.CreateRibbonGroup(); this.btnAddNew = this.Factory.CreateRibbonButton(); this.group3 = this.Factory.CreateRibbonGroup(); this.btnEdit = this.Factory.CreateRibbonButton(); this.group4 = this.Factory.CreateRibbonGroup(); this.btnLogIn = this.Factory.CreateRibbonButton(); this.saveDlg = new System.Windows.Forms.SaveFileDialog(); this.group5 = this.Factory.CreateRibbonGroup(); this.btnSave = this.Factory.CreateRibbonButton(); this.tab1.SuspendLayout(); this.group1.SuspendLayout(); this.group2.SuspendLayout(); this.group3.SuspendLayout(); this.group4.SuspendLayout(); this.group5.SuspendLayout(); // // tab1 // this.tab1.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office; this.tab1.Groups.Add(this.group1); this.tab1.Groups.Add(this.group2); this.tab1.Groups.Add(this.group3); this.tab1.Groups.Add(this.group5); this.tab1.Groups.Add(this.group4); this.tab1.Label = "CATS"; this.tab1.Name = "tab1"; // // group1 // this.group1.Items.Add(this.btnSetings); this.group1.Name = "group1"; // // btnSetings // this.btnSetings.Label = "Setting"; this.btnSetings.Name = "btnSetings"; this.btnSetings.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.button1_Click); // // group2 // this.group2.Items.Add(this.btnAddNew); this.group2.Name = "group2"; // // btnAddNew // this.btnAddNew.Label = "Add/EditTemplate"; this.btnAddNew.Name = "btnAddNew"; this.btnAddNew.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnAddNew_Click); // // group3 // this.group3.Items.Add(this.btnEdit); this.group3.Name = "group3"; // // btnEdit // this.btnEdit.Label = "Upload/Download Template"; this.btnEdit.Name = "btnEdit"; this.btnEdit.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnEdit_Click); // // group4 // this.group4.Items.Add(this.btnLogIn); this.group4.Name = "group4"; // // btnLogIn // this.btnLogIn.Label = "Log in to CATS"; this.btnLogIn.Name = "btnLogIn"; this.btnLogIn.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLogIn_Click); // // group5 // this.group5.Items.Add(this.btnSave); this.group5.Label = "group5"; this.group5.Name = "group5"; // // btnSave // this.btnSave.Label = "Save Docment"; this.btnSave.Name = "btnSave"; this.btnSave.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnSave_Click_1); // // CatsTemplateRibbon // this.Name = "CatsTemplateRibbon"; this.RibbonType = "Microsoft.Word.Document"; this.Tabs.Add(this.tab1); this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.CatsTemplateRibbon_Load); this.tab1.ResumeLayout(false); this.tab1.PerformLayout(); this.group1.ResumeLayout(false); this.group1.PerformLayout(); this.group2.ResumeLayout(false); this.group2.PerformLayout(); this.group3.ResumeLayout(false); this.group3.PerformLayout(); this.group4.ResumeLayout(false); this.group4.PerformLayout(); this.group5.ResumeLayout(false); this.group5.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Office.Tools.Ribbon.RibbonDialogLauncher ribbonDialogLauncherImpl1 = this.Factory.CreateRibbonDialogLauncher(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl1 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl2 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl3 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl4 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl5 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl6 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl7 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl8 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl9 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl10 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl11 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl12 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl13 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl14 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl15 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl16 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl17 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl18 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl19 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl20 = this.Factory.CreateRibbonDropDownItem(); Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl21 = this.Factory.CreateRibbonDropDownItem(); this.tabShipTools = this.Factory.CreateRibbonTab(); this.grpInsert = this.Factory.CreateRibbonGroup(); this.box1 = this.Factory.CreateRibbonBox(); this.txtOriginZip = this.Factory.CreateRibbonEditBox(); this.txtOriginCountry = this.Factory.CreateRibbonEditBox(); this.box3 = this.Factory.CreateRibbonBox(); this.txtDestinationZip = this.Factory.CreateRibbonEditBox(); this.txtDestinationCountry = this.Factory.CreateRibbonEditBox(); this.grpPackageInfo = this.Factory.CreateRibbonGroup(); this.box2 = this.Factory.CreateRibbonBox(); this.selectServiceType = this.Factory.CreateRibbonDropDown(); this.box4 = this.Factory.CreateRibbonBox(); this.txtPackageWeight = this.Factory.CreateRibbonEditBox(); this.grpSetRanges = this.Factory.CreateRibbonGroup(); this.grpAutomate = this.Factory.CreateRibbonGroup(); this.box5 = this.Factory.CreateRibbonBox(); this.btnInsertRateSingle = this.Factory.CreateRibbonButton(); this.btnSetOriginRange = this.Factory.CreateRibbonButton(); this.btnSetDestinationRange = this.Factory.CreateRibbonButton(); this.btnSetOutputRange = this.Factory.CreateRibbonButton(); this.btnInsetRateMatrix = this.Factory.CreateRibbonButton(); this.btnInsertDistanceMatrix = this.Factory.CreateRibbonButton(); this.bgwInsertMatrix = new System.ComponentModel.BackgroundWorker(); this.tabShipTools.SuspendLayout(); this.grpInsert.SuspendLayout(); this.box1.SuspendLayout(); this.box3.SuspendLayout(); this.grpPackageInfo.SuspendLayout(); this.box2.SuspendLayout(); this.box4.SuspendLayout(); this.grpSetRanges.SuspendLayout(); this.grpAutomate.SuspendLayout(); this.box5.SuspendLayout(); // // tabShipTools // this.tabShipTools.Groups.Add(this.grpInsert); this.tabShipTools.Groups.Add(this.grpPackageInfo); this.tabShipTools.Groups.Add(this.grpSetRanges); this.tabShipTools.Groups.Add(this.grpAutomate); this.tabShipTools.Label = "FedEx Shipping Tools"; this.tabShipTools.Name = "tabShipTools"; // // grpInsert // this.grpInsert.DialogLauncher = ribbonDialogLauncherImpl1; this.grpInsert.Items.Add(this.box1); this.grpInsert.Items.Add(this.box3); this.grpInsert.Items.Add(this.box5); this.grpInsert.Label = "Quick Insert"; this.grpInsert.Name = "grpInsert"; // // box1 // this.box1.Items.Add(this.txtOriginZip); this.box1.Items.Add(this.txtOriginCountry); this.box1.Name = "box1"; // // txtOriginZip // this.txtOriginZip.Label = "Origin Zip:"; this.txtOriginZip.Name = "txtOriginZip"; this.txtOriginZip.Text = null; // // txtOriginCountry // this.txtOriginCountry.Label = "editBox1"; this.txtOriginCountry.MaxLength = 2; this.txtOriginCountry.Name = "txtOriginCountry"; this.txtOriginCountry.ShowLabel = false; this.txtOriginCountry.Text = "US"; // // box3 // this.box3.Items.Add(this.txtDestinationZip); this.box3.Items.Add(this.txtDestinationCountry); this.box3.Name = "box3"; // // txtDestinationZip // this.txtDestinationZip.Label = "Destination Zip:"; this.txtDestinationZip.Name = "txtDestinationZip"; this.txtDestinationZip.Text = null; // // txtDestinationCountry // this.txtDestinationCountry.Label = "editBox1"; this.txtDestinationCountry.MaxLength = 2; this.txtDestinationCountry.Name = "txtDestinationCountry"; this.txtDestinationCountry.ShowLabel = false; this.txtDestinationCountry.Text = "US"; // // grpPackageInfo // this.grpPackageInfo.Items.Add(this.box2); this.grpPackageInfo.Items.Add(this.box4); this.grpPackageInfo.Label = "Package Information"; this.grpPackageInfo.Name = "grpPackageInfo"; // // box2 // this.box2.Items.Add(this.selectServiceType); this.box2.Name = "box2"; // // selectServiceType // ribbonDropDownItemImpl1.Label = "EUROPE_FIRST_INTERNATIONAL_PRIORITY"; ribbonDropDownItemImpl2.Label = "FEDEX_1_DAY_FREIGHT"; ribbonDropDownItemImpl3.Label = "FEDEX_2_DAY"; ribbonDropDownItemImpl4.Label = "FEDEX_2_DAY_AM"; ribbonDropDownItemImpl5.Label = "FEDEX_2_DAY_FREIGHT"; ribbonDropDownItemImpl6.Label = "FEDEX_3_DAY_FREIGHT"; ribbonDropDownItemImpl7.Label = "FEDEX_EXPRESS_SAVER"; ribbonDropDownItemImpl8.Label = "FEDEX_FIRST_FREIGHT"; ribbonDropDownItemImpl9.Label = "FEDEX_FREIGHT_ECONOMY"; ribbonDropDownItemImpl10.Label = "FEDEX_FREIGHT_PRIORITY"; ribbonDropDownItemImpl11.Label = "FEDEX_GROUND"; ribbonDropDownItemImpl12.Label = "FIRST_OVERNIGHT"; ribbonDropDownItemImpl13.Label = "GROUND_HOME_DELIVERY"; ribbonDropDownItemImpl14.Label = "INTERNATIONAL_ECONOMY"; ribbonDropDownItemImpl15.Label = "INTERNATIONAL_ECONOMY_FREIGHT"; ribbonDropDownItemImpl16.Label = "INTERNATIONAL_FIRST"; ribbonDropDownItemImpl17.Label = "INTERNATIONAL_PRIORITY"; ribbonDropDownItemImpl18.Label = "INTERNATIONAL_PRIORITY_FREIGHT"; ribbonDropDownItemImpl19.Label = "PRIORITY_OVERNIGHT"; ribbonDropDownItemImpl20.Label = "SMART_POST"; ribbonDropDownItemImpl21.Label = "STANDARD_OVERNIGHT"; this.selectServiceType.Items.Add(ribbonDropDownItemImpl1); this.selectServiceType.Items.Add(ribbonDropDownItemImpl2); this.selectServiceType.Items.Add(ribbonDropDownItemImpl3); this.selectServiceType.Items.Add(ribbonDropDownItemImpl4); this.selectServiceType.Items.Add(ribbonDropDownItemImpl5); this.selectServiceType.Items.Add(ribbonDropDownItemImpl6); this.selectServiceType.Items.Add(ribbonDropDownItemImpl7); this.selectServiceType.Items.Add(ribbonDropDownItemImpl8); this.selectServiceType.Items.Add(ribbonDropDownItemImpl9); this.selectServiceType.Items.Add(ribbonDropDownItemImpl10); this.selectServiceType.Items.Add(ribbonDropDownItemImpl11); this.selectServiceType.Items.Add(ribbonDropDownItemImpl12); this.selectServiceType.Items.Add(ribbonDropDownItemImpl13); this.selectServiceType.Items.Add(ribbonDropDownItemImpl14); this.selectServiceType.Items.Add(ribbonDropDownItemImpl15); this.selectServiceType.Items.Add(ribbonDropDownItemImpl16); this.selectServiceType.Items.Add(ribbonDropDownItemImpl17); this.selectServiceType.Items.Add(ribbonDropDownItemImpl18); this.selectServiceType.Items.Add(ribbonDropDownItemImpl19); this.selectServiceType.Items.Add(ribbonDropDownItemImpl20); this.selectServiceType.Items.Add(ribbonDropDownItemImpl21); this.selectServiceType.Label = "Service Type"; this.selectServiceType.Name = "selectServiceType"; this.selectServiceType.SizeString = "EUROPE_FIRST_INTERNATIONAL_PRIORITY"; // // box4 // this.box4.Items.Add(this.txtPackageWeight); this.box4.Name = "box4"; // // txtPackageWeight // this.txtPackageWeight.Label = "Weight (lbs):"; this.txtPackageWeight.Name = "txtPackageWeight"; this.txtPackageWeight.Text = "2"; // // grpSetRanges // this.grpSetRanges.Items.Add(this.btnSetOriginRange); this.grpSetRanges.Items.Add(this.btnSetDestinationRange); this.grpSetRanges.Items.Add(this.btnSetOutputRange); this.grpSetRanges.Label = "Set Ranges"; this.grpSetRanges.Name = "grpSetRanges"; // // grpAutomate // this.grpAutomate.Items.Add(this.btnInsetRateMatrix); this.grpAutomate.Items.Add(this.btnInsertDistanceMatrix); this.grpAutomate.Label = "AutoFill"; this.grpAutomate.Name = "grpAutomate"; // // box5 // this.box5.Items.Add(this.btnInsertRateSingle); this.box5.Name = "box5"; // // btnInsertRateSingle // this.btnInsertRateSingle.Image = global::FedExShipToolsAddin.Properties.Resources.mail; this.btnInsertRateSingle.Label = "Insert Rate Estimate"; this.btnInsertRateSingle.Name = "btnInsertRateSingle"; this.btnInsertRateSingle.ShowImage = true; this.btnInsertRateSingle.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnInsertRateSingle_Click); // // btnSetOriginRange // this.btnSetOriginRange.Image = global::FedExShipToolsAddin.Properties.Resources.ui_select_range_icon; this.btnSetOriginRange.Label = "Origin"; this.btnSetOriginRange.Name = "btnSetOriginRange"; this.btnSetOriginRange.ShowImage = true; this.btnSetOriginRange.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnSetOriginRange_Click); // // btnSetDestinationRange // this.btnSetDestinationRange.Image = global::FedExShipToolsAddin.Properties.Resources.ui_select_range_icon; this.btnSetDestinationRange.Label = "Destination"; this.btnSetDestinationRange.Name = "btnSetDestinationRange"; this.btnSetDestinationRange.ShowImage = true; this.btnSetDestinationRange.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnSetDestinationRange_Click); // // btnSetOutputRange // this.btnSetOutputRange.Image = global::FedExShipToolsAddin.Properties.Resources.ui_select_range_icon; this.btnSetOutputRange.Label = "Output"; this.btnSetOutputRange.Name = "btnSetOutputRange"; this.btnSetOutputRange.ShowImage = true; this.btnSetOutputRange.Visible = false; this.btnSetOutputRange.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnSetOutputRange_Click); // // btnInsetRateMatrix // this.btnInsetRateMatrix.Image = global::FedExShipToolsAddin.Properties.Resources.mail1; this.btnInsetRateMatrix.Label = "Inset Rate Matrix"; this.btnInsetRateMatrix.Name = "btnInsetRateMatrix"; this.btnInsetRateMatrix.ShowImage = true; this.btnInsetRateMatrix.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnInsetRateMatrix_Click); // // btnInsertDistanceMatrix // this.btnInsertDistanceMatrix.Image = global::FedExShipToolsAddin.Properties.Resources.b_measure_off; this.btnInsertDistanceMatrix.Label = "Insert Distance Matrix"; this.btnInsertDistanceMatrix.Name = "btnInsertDistanceMatrix"; this.btnInsertDistanceMatrix.ShowImage = true; this.btnInsertDistanceMatrix.Visible = false; // // Ribbon1 // this.Name = "Ribbon1"; this.RibbonType = "Microsoft.Excel.Workbook"; this.Tabs.Add(this.tabShipTools); this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.Ribbon1_Load); this.tabShipTools.ResumeLayout(false); this.tabShipTools.PerformLayout(); this.grpInsert.ResumeLayout(false); this.grpInsert.PerformLayout(); this.box1.ResumeLayout(false); this.box1.PerformLayout(); this.box3.ResumeLayout(false); this.box3.PerformLayout(); this.grpPackageInfo.ResumeLayout(false); this.grpPackageInfo.PerformLayout(); this.box2.ResumeLayout(false); this.box2.PerformLayout(); this.box4.ResumeLayout(false); this.box4.PerformLayout(); this.grpSetRanges.ResumeLayout(false); this.grpSetRanges.PerformLayout(); this.grpAutomate.ResumeLayout(false); this.grpAutomate.PerformLayout(); this.box5.ResumeLayout(false); this.box5.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ManageTaskPaneRibbon)); this.tab1 = this.Factory.CreateRibbonTab(); this.group1 = this.Factory.CreateRibbonGroup(); this.separator1 = this.Factory.CreateRibbonSeparator(); this.separator3 = this.Factory.CreateRibbonSeparator(); this.group2 = this.Factory.CreateRibbonGroup(); this.tgbtnShowReadTable = this.Factory.CreateRibbonToggleButton(); this.tgbtnQuery = this.Factory.CreateRibbonToggleButton(); this.btnGetTableInfo = this.Factory.CreateRibbonToggleButton(); this.btFuncMeta = this.Factory.CreateRibbonButton(); this.tab1.SuspendLayout(); this.group1.SuspendLayout(); this.group2.SuspendLayout(); // // tab1 // this.tab1.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office; this.tab1.Groups.Add(this.group1); this.tab1.Groups.Add(this.group2); this.tab1.Label = "TabAddIns"; this.tab1.Name = "tab1"; // // group1 // this.group1.Items.Add(this.tgbtnShowReadTable); this.group1.Items.Add(this.separator1); this.group1.Items.Add(this.tgbtnQuery); this.group1.Items.Add(this.separator3); this.group1.Items.Add(this.btnGetTableInfo); this.group1.Label = "数据查询"; this.group1.Name = "group1"; // // separator1 // this.separator1.Name = "separator1"; // // separator3 // this.separator3.Name = "separator3"; // // group2 // this.group2.Items.Add(this.btFuncMeta); this.group2.Label = "工具"; this.group2.Name = "group2"; // // tgbtnShowReadTable // this.tgbtnShowReadTable.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.tgbtnShowReadTable.Image = ((System.Drawing.Image)(resources.GetObject("tgbtnShowReadTable.Image"))); this.tgbtnShowReadTable.Label = "显示读表窗口"; this.tgbtnShowReadTable.Name = "tgbtnShowReadTable"; this.tgbtnShowReadTable.ShowImage = true; this.tgbtnShowReadTable.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.tgbtnShowReadTable_Click); // // tgbtnQuery // this.tgbtnQuery.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.tgbtnQuery.Image = ((System.Drawing.Image)(resources.GetObject("tgbtnQuery.Image"))); this.tgbtnQuery.Label = "SAP QUERY"; this.tgbtnQuery.Name = "tgbtnQuery"; this.tgbtnQuery.ShowImage = true; this.tgbtnQuery.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.tgbtnQuery_Click); // // btnGetTableInfo // this.btnGetTableInfo.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnGetTableInfo.Image = ((System.Drawing.Image)(resources.GetObject("btnGetTableInfo.Image"))); this.btnGetTableInfo.Label = "显示表元数据"; this.btnGetTableInfo.Name = "btnGetTableInfo"; this.btnGetTableInfo.ShowImage = true; this.btnGetTableInfo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnGetTableInfo_Click); // // btFuncMeta // this.btFuncMeta.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btFuncMeta.Image = ((System.Drawing.Image)(resources.GetObject("btFuncMeta.Image"))); this.btFuncMeta.Label = "显示函数信息"; this.btFuncMeta.Name = "btFuncMeta"; this.btFuncMeta.ShowImage = true; this.btFuncMeta.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btFuncMeta_Click); // // ManageTaskPaneRibbon // this.Name = "ManageTaskPaneRibbon"; this.RibbonType = "Microsoft.Excel.Workbook"; this.Tabs.Add(this.tab1); this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.SAPINTRibbon_Load); this.tab1.ResumeLayout(false); this.tab1.PerformLayout(); this.group1.ResumeLayout(false); this.group1.PerformLayout(); this.group2.ResumeLayout(false); this.group2.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tabLanguageTools = this.Factory.CreateRibbonTab(); this.grpGermanGrammar = this.Factory.CreateRibbonGroup(); this.btnLookup = this.Factory.CreateRibbonButton(); this.btnToggleLookupPane = this.Factory.CreateRibbonToggleButton(); this.btnToggleInstantLookup = this.Factory.CreateRibbonToggleButton(); this.btnInfo = this.Factory.CreateRibbonButton(); this.tabLanguageTools.SuspendLayout(); this.grpGermanGrammar.SuspendLayout(); this.SuspendLayout(); // // tabLanguageTools // this.tabLanguageTools.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office; this.tabLanguageTools.Groups.Add(this.grpGermanGrammar); this.tabLanguageTools.Label = "Language Tools"; this.tabLanguageTools.Name = "tabLanguageTools"; // // grpGermanGrammar // this.grpGermanGrammar.Items.Add(this.btnLookup); this.grpGermanGrammar.Items.Add(this.btnToggleLookupPane); this.grpGermanGrammar.Items.Add(this.btnToggleInstantLookup); this.grpGermanGrammar.Items.Add(this.btnInfo); this.grpGermanGrammar.Label = "German Grammar"; this.grpGermanGrammar.Name = "grpGermanGrammar"; // // btnLookup // this.btnLookup.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnLookup.Image = Properties.Resources.search; this.btnLookup.Label = "Look up"; this.btnLookup.Name = "btnLookup"; this.btnLookup.ScreenTip = "Search selection in dictionary"; this.btnLookup.ShowImage = true; this.btnLookup.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnLookup_Click); // // btnToggleLookupPane // this.btnToggleLookupPane.Image = Properties.Resources.eye; this.btnToggleLookupPane.Label = "Lookup pane"; this.btnToggleLookupPane.Name = "btnToggleLookupPane"; this.btnToggleLookupPane.ShowImage = true; this.btnToggleLookupPane.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnToggleLookupPane_Click); // // btnToggleInstantLookup // this.btnToggleInstantLookup.Image = Properties.Resources.continuous; this.btnToggleInstantLookup.Label = "Instant lookup"; this.btnToggleInstantLookup.Name = "btnToggleInstantLookup"; this.btnToggleInstantLookup.ShowImage = true; this.btnToggleInstantLookup.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnToggleInstantLookup_Click); // // btnInfo // this.btnInfo.Image = Properties.Resources.info; this.btnInfo.Label = "Information"; this.btnInfo.Name = "btnInfo"; this.btnInfo.ShowImage = true; this.btnInfo.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.btnInfo_Click); // // LanguageToolsRibbon // this.Name = "LanguageToolsRibbon"; this.RibbonType = "Microsoft.Outlook.Mail.Compose, Microsoft.Word.Document"; this.Tabs.Add(this.tabLanguageTools); this.tabLanguageTools.ResumeLayout(false); this.tabLanguageTools.PerformLayout(); this.grpGermanGrammar.ResumeLayout(false); this.grpGermanGrammar.PerformLayout(); this.ResumeLayout(false); }