PageRenderTime 38ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/DataWorkflowActivities/Microsoft.Samples.SqlServer.Workflows/Microsoft.Samples.SqlServer.ExcelAddIn/Ribbon/WorkflowRibbon.designer.cs

#
C# | 121 lines | 84 code | 8 blank | 29 comment | 3 complexity | 080de0a38a80c2be1752b5ef18770b49 MD5 | raw file
  1. namespace Microsoft.Samples.SqlServer.ExcelAddIn
  2. {
  3. partial class WorkflowRibbon : Microsoft.Office.Tools.Ribbon.RibbonBase
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. public WorkflowRibbon()
  10. : base(Globals.Factory.GetRibbonFactory())
  11. {
  12. InitializeComponent();
  13. }
  14. /// <summary>
  15. /// Clean up any resources being used.
  16. /// </summary>
  17. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  18. protected override void Dispose(bool disposing)
  19. {
  20. if (disposing && (components != null))
  21. {
  22. components.Dispose();
  23. }
  24. base.Dispose(disposing);
  25. }
  26. #region Component Designer generated code
  27. /// <summary>
  28. /// Required method for Designer support - do not modify
  29. /// the contents of this method with the code editor.
  30. /// </summary>
  31. private void InitializeComponent()
  32. {
  33. Microsoft.Office.Tools.Ribbon.RibbonDialogLauncher ribbonDialogLauncherImpl1 = this.Factory.CreateRibbonDialogLauncher();
  34. this.workflowTab = this.Factory.CreateRibbonTab();
  35. this.generalGroup = this.Factory.CreateRibbonGroup();
  36. this.configurationButton = this.Factory.CreateRibbonButton();
  37. this.designButton = this.Factory.CreateRibbonButton();
  38. this.getFeedGallery = this.Factory.CreateRibbonGallery();
  39. this.workflowTab.SuspendLayout();
  40. this.generalGroup.SuspendLayout();
  41. //
  42. // workflowTab
  43. //
  44. this.workflowTab.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office;
  45. this.workflowTab.ControlId.OfficeId = "TabDeveloper";
  46. this.workflowTab.Groups.Add(this.generalGroup);
  47. this.workflowTab.Label = "TabDeveloper";
  48. this.workflowTab.Name = "workflowTab";
  49. //
  50. // generalGroup
  51. //
  52. this.generalGroup.DialogLauncher = ribbonDialogLauncherImpl1;
  53. this.generalGroup.Items.Add(this.configurationButton);
  54. this.generalGroup.Items.Add(this.designButton);
  55. this.generalGroup.Items.Add(this.getFeedGallery);
  56. this.generalGroup.Label = "SQL Azure Database and OData";
  57. this.generalGroup.Name = "generalGroup";
  58. this.generalGroup.DialogLauncherClick += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.generalGroup_DialogLauncherClick);
  59. //
  60. // configurationButton
  61. //
  62. this.configurationButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  63. this.configurationButton.Label = "Configuration";
  64. this.configurationButton.Name = "configurationButton";
  65. this.configurationButton.OfficeImageId = "PropertySheet";
  66. this.configurationButton.ShowImage = true;
  67. this.configurationButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.configurationButton_Click);
  68. //
  69. // designButton
  70. //
  71. this.designButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  72. this.designButton.Label = "Design";
  73. this.designButton.Name = "designButton";
  74. this.designButton.OfficeImageId = "TableDesign";
  75. this.designButton.ShowImage = true;
  76. this.designButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.designButton_Click);
  77. //
  78. // getFeedGallery
  79. //
  80. this.getFeedGallery.ColumnCount = 1;
  81. this.getFeedGallery.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  82. this.getFeedGallery.Label = "Run Workflow";
  83. this.getFeedGallery.Name = "getFeedGallery";
  84. this.getFeedGallery.OfficeImageId = "MacroPlay";
  85. this.getFeedGallery.ShowImage = true;
  86. this.getFeedGallery.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.getFeedGallery_Click);
  87. this.getFeedGallery.ItemsLoading += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.getFeedGallery_ItemsLoading);
  88. //
  89. // WorkflowRibbon
  90. //
  91. this.Name = "WorkflowRibbon";
  92. this.RibbonType = "Microsoft.Excel.Workbook";
  93. this.Tabs.Add(this.workflowTab);
  94. this.workflowTab.ResumeLayout(false);
  95. this.workflowTab.PerformLayout();
  96. this.generalGroup.ResumeLayout(false);
  97. this.generalGroup.PerformLayout();
  98. }
  99. #endregion
  100. internal Microsoft.Office.Tools.Ribbon.RibbonTab workflowTab;
  101. internal Microsoft.Office.Tools.Ribbon.RibbonGroup generalGroup;
  102. internal Microsoft.Office.Tools.Ribbon.RibbonButton configurationButton;
  103. internal Office.Tools.Ribbon.RibbonGallery getFeedGallery;
  104. internal Office.Tools.Ribbon.RibbonButton designButton;
  105. }
  106. partial class ThisRibbonCollection
  107. {
  108. internal WorkflowRibbon WorkflowRibbon
  109. {
  110. get { return this.GetRibbon<WorkflowRibbon>(); }
  111. }
  112. }
  113. }