コード例 #1
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 ribbonDropDownItemImpl1 = this.Factory.CreateRibbonDropDownItem();
       Microsoft.Office.Tools.Ribbon.RibbonDropDownItem ribbonDropDownItemImpl2 = this.Factory.CreateRibbonDropDownItem();
       this.TabCustom = this.Factory.CreateRibbonTab();
       this.temperatureGroup = this.Factory.CreateRibbonGroup();
       this.TemperatureEditBox = this.Factory.CreateRibbonEditBox();
       this.ScaleDropDown = this.Factory.CreateRibbonDropDown();
       this.InsertButton = this.Factory.CreateRibbonButton();
       this.TabCustom.SuspendLayout();
       this.temperatureGroup.SuspendLayout();
       //
       // TabCustom
       //
       this.TabCustom.Groups.Add(this.temperatureGroup);
       this.TabCustom.Label = "Custom";
       this.TabCustom.Name = "TabCustom";
       //
       // temperatureGroup
       //
       this.temperatureGroup.Items.Add(this.TemperatureEditBox);
       this.temperatureGroup.Items.Add(this.ScaleDropDown);
       this.temperatureGroup.Items.Add(this.InsertButton);
       this.temperatureGroup.Label = "Temperature";
       this.temperatureGroup.Name = "temperatureGroup";
       //
       // TemperatureEditBox
       //
       this.TemperatureEditBox.Label = "Temperature";
       this.TemperatureEditBox.Name = "TemperatureEditBox";
       this.TemperatureEditBox.Text = null;
       this.TemperatureEditBox.TextChanged += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.TemperatureEditBox_TextChanged);
       //
       // ScaleDropDown
       //
       ribbonDropDownItemImpl1.Label = "Centigrade";
       ribbonDropDownItemImpl2.Label = "Fahrenheit";
       this.ScaleDropDown.Items.Add(ribbonDropDownItemImpl1);
       this.ScaleDropDown.Items.Add(ribbonDropDownItemImpl2);
       this.ScaleDropDown.Label = "Scale:";
       this.ScaleDropDown.Name = "ScaleDropDown";
       //
       // InsertButton
       //
       this.InsertButton.Enabled = false;
       this.InsertButton.Label = "Insert Temperature";
       this.InsertButton.Name = "InsertButton";
       this.InsertButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.InsertButton_Click);
       //
       // Ribbon1
       //
       this.Name = "Ribbon1";
       this.RibbonType = "Microsoft.Excel.Workbook";
       this.Tabs.Add(this.TabCustom);
       this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.Ribbon1_Load);
       this.TabCustom.ResumeLayout(false);
       this.TabCustom.PerformLayout();
       this.temperatureGroup.ResumeLayout(false);
       this.temperatureGroup.PerformLayout();
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
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);
 }
コード例 #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.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);
 }
コード例 #5
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();
 }