コード例 #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);
 }
コード例 #2
0
ファイル: Ribbon.designer.cs プロジェクト: t9mike/excel2earth
 /// <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);
 }
コード例 #3
0
 /// <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);
 }
コード例 #4
0
 /// <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();
 }