Exemple #1
0
 /// <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()
 {
     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>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </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();
 }