MainRibbon.Designer.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. namespace HTEXTeach
  2. {
  3. partial class MainRibbon : Microsoft.Office.Tools.Ribbon.RibbonBase
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. public MainRibbon()
  10. : base(Globals.Factory.GetRibbonFactory())
  11. {
  12. InitializeComponent();
  13. }
  14. /// <summary>
  15. /// 清理所有正在使用的资源。
  16. /// </summary>
  17. /// <param name="disposing">如果应释放托管资源,为 true;否则为 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 组件设计器生成的代码
  27. /// <summary>
  28. /// 设计器支持所需的方法 - 不要修改
  29. /// 使用代码编辑器修改此方法的内容。
  30. /// </summary>
  31. private void InitializeComponent()
  32. {
  33. this.tab1 = this.Factory.CreateRibbonTab();
  34. this.group1 = this.Factory.CreateRibbonGroup();
  35. this.tab1.SuspendLayout();
  36. this.SuspendLayout();
  37. //
  38. // tab1
  39. //
  40. // this.tab1.ControlId.ControlIdType = Microsoft.Office.Tools.Ribbon.RibbonControlIdType.Office;
  41. this.tab1.Groups.Add(this.group1);
  42. this.tab1.Label = "教学助手";
  43. this.tab1.Name = "TeachAssistant";
  44. //
  45. // group1
  46. //
  47. this.group1.Label = "group1";
  48. this.group1.Name = "group1";
  49. //
  50. // MainRibbon
  51. //
  52. this.Name = "MainRibbon";
  53. this.RibbonType = "Microsoft.PowerPoint.Presentation";
  54. this.Tabs.Add(this.tab1);
  55. this.Load += new Microsoft.Office.Tools.Ribbon.RibbonUIEventHandler(this.MainRibbon_Load);
  56. this.tab1.ResumeLayout(false);
  57. this.tab1.PerformLayout();
  58. this.ResumeLayout(false);
  59. }
  60. #endregion
  61. internal Microsoft.Office.Tools.Ribbon.RibbonTab tab1;
  62. internal Microsoft.Office.Tools.Ribbon.RibbonGroup group1;
  63. }
  64. partial class ThisRibbonCollection
  65. {
  66. internal MainRibbon MainRibbon
  67. {
  68. get { return this.GetRibbon<MainRibbon>(); }
  69. }
  70. }
  71. }