PageRenderTime 58ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/DataWorkflowActivities/Microsoft.Samples.SqlServer.Workflows/Microsoft.Samples.SqlServer.WordAddIn/WorkflowRibbon.Designer.cs

#
C# | 123 lines | 86 code | 8 blank | 29 comment | 3 complexity | cec7857cfcc0b6c052157333c4678d9c MD5 | raw file
  1. namespace Microsoft.Samples.SqlServer.WordAddIn
  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.tab1 = this.Factory.CreateRibbonTab();
  35. this.oDataGroup = this.Factory.CreateRibbonGroup();
  36. this.configurationButton = this.Factory.CreateRibbonButton();
  37. this.designButton = this.Factory.CreateRibbonButton();
  38. this.getFeedGallery = this.Factory.CreateRibbonGallery();
  39. this.tab1.SuspendLayout();
  40. this.oDataGroup.SuspendLayout();
  41. //
  42. // tab1
  43. //
  44. this.tab1.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office;
  45. this.tab1.ControlId.OfficeId = "TabDeveloper";
  46. this.tab1.Groups.Add(this.oDataGroup);
  47. this.tab1.Label = "TabDeveloper";
  48. this.tab1.Name = "tab1";
  49. //
  50. // oDataGroup
  51. //
  52. ribbonDialogLauncherImpl1.ScreenTip = "Design Workflow";
  53. ribbonDialogLauncherImpl1.SuperTip = "Design Workflow";
  54. this.oDataGroup.DialogLauncher = ribbonDialogLauncherImpl1;
  55. this.oDataGroup.Items.Add(this.configurationButton);
  56. this.oDataGroup.Items.Add(this.designButton);
  57. this.oDataGroup.Items.Add(this.getFeedGallery);
  58. this.oDataGroup.Label = "Windows Azure OData";
  59. this.oDataGroup.Name = "oDataGroup";
  60. this.oDataGroup.DialogLauncherClick += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.oDataGroup_DialogLauncherClick);
  61. //
  62. // configurationButton
  63. //
  64. this.configurationButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  65. this.configurationButton.Label = "Configuration";
  66. this.configurationButton.Name = "configurationButton";
  67. this.configurationButton.OfficeImageId = "PropertySheet";
  68. this.configurationButton.ShowImage = true;
  69. this.configurationButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.configurationButton_Click);
  70. //
  71. // designButton
  72. //
  73. this.designButton.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  74. this.designButton.Label = "Design";
  75. this.designButton.Name = "designButton";
  76. this.designButton.OfficeImageId = "TableDesign";
  77. this.designButton.ShowImage = true;
  78. this.designButton.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.designButton_Click);
  79. //
  80. // getFeedGallery
  81. //
  82. this.getFeedGallery.ColumnCount = 1;
  83. this.getFeedGallery.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
  84. this.getFeedGallery.Label = "Get Feed";
  85. this.getFeedGallery.Name = "getFeedGallery";
  86. this.getFeedGallery.OfficeImageId = "Filter";
  87. this.getFeedGallery.ShowImage = true;
  88. this.getFeedGallery.Click += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.getFeedGallery_Click);
  89. this.getFeedGallery.ItemsLoading += new Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler(this.getFeedGallery_ItemsLoading);
  90. //
  91. // WorkflowRibbon
  92. //
  93. this.Name = "WorkflowRibbon";
  94. this.RibbonType = "Microsoft.Word.Document";
  95. this.Tabs.Add(this.tab1);
  96. this.tab1.ResumeLayout(false);
  97. this.tab1.PerformLayout();
  98. this.oDataGroup.ResumeLayout(false);
  99. this.oDataGroup.PerformLayout();
  100. }
  101. #endregion
  102. internal Microsoft.Office.Tools.Ribbon.RibbonTab tab1;
  103. internal Microsoft.Office.Tools.Ribbon.RibbonGroup oDataGroup;
  104. internal Office.Tools.Ribbon.RibbonButton configurationButton;
  105. internal Office.Tools.Ribbon.RibbonGallery getFeedGallery;
  106. internal Office.Tools.Ribbon.RibbonButton designButton;
  107. }
  108. partial class ThisRibbonCollection
  109. {
  110. internal WorkflowRibbon WorkflowRibbon
  111. {
  112. get { return this.GetRibbon<WorkflowRibbon>(); }
  113. }
  114. }
  115. }