ThisAddIn.Designer.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.42000
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 414
  11. namespace HTEXTeach {
  12. ///
  13. [Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(0)]
  14. [global::System.Security.Permissions.PermissionSetAttribute(global::System.Security.Permissions.SecurityAction.Demand, Name="FullTrust")]
  15. public sealed partial class ThisAddIn : Microsoft.Office.Tools.AddInBase {
  16. internal Microsoft.Office.Tools.CustomTaskPaneCollection CustomTaskPanes;
  17. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  18. private global::System.Object missing = global::System.Type.Missing;
  19. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  20. internal Microsoft.Office.Interop.PowerPoint.Application Application;
  21. ///
  22. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  23. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  24. public ThisAddIn(global::Microsoft.Office.Tools.Factory factory, global::System.IServiceProvider serviceProvider) :
  25. base(factory, serviceProvider, "AddIn", "ThisAddIn") {
  26. Globals.Factory = factory;
  27. }
  28. ///
  29. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  30. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  31. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  32. protected override void Initialize() {
  33. base.Initialize();
  34. this.Application = this.GetHostItem<Microsoft.Office.Interop.PowerPoint.Application>(typeof(Microsoft.Office.Interop.PowerPoint.Application), "Application");
  35. Globals.ThisAddIn = this;
  36. global::System.Windows.Forms.Application.EnableVisualStyles();
  37. this.InitializeCachedData();
  38. this.InitializeControls();
  39. this.InitializeComponents();
  40. this.InitializeData();
  41. }
  42. ///
  43. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  44. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  45. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  46. protected override void FinishInitialization() {
  47. this.InternalStartup();
  48. this.OnStartup();
  49. }
  50. ///
  51. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  52. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  53. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  54. protected override void InitializeDataBindings() {
  55. this.BeginInitialization();
  56. this.BindToData();
  57. this.EndInitialization();
  58. }
  59. ///
  60. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  61. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  62. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  63. private void InitializeCachedData() {
  64. if ((this.DataHost == null)) {
  65. return;
  66. }
  67. if (this.DataHost.IsCacheInitialized) {
  68. this.DataHost.FillCachedData(this);
  69. }
  70. }
  71. ///
  72. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  73. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  74. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  75. private void InitializeData() {
  76. }
  77. ///
  78. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  79. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  80. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  81. private void BindToData() {
  82. }
  83. ///
  84. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  85. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  86. private void StartCaching(string MemberName) {
  87. this.DataHost.StartCaching(this, MemberName);
  88. }
  89. ///
  90. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  91. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  92. private void StopCaching(string MemberName) {
  93. this.DataHost.StopCaching(this, MemberName);
  94. }
  95. ///
  96. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  97. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  98. private bool IsCached(string MemberName) {
  99. return this.DataHost.IsCached(this, MemberName);
  100. }
  101. ///
  102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  103. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  104. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  105. private void BeginInitialization() {
  106. this.BeginInit();
  107. this.CustomTaskPanes.BeginInit();
  108. }
  109. ///
  110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  111. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  112. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  113. private void EndInitialization() {
  114. this.CustomTaskPanes.EndInit();
  115. this.EndInit();
  116. }
  117. ///
  118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  120. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  121. private void InitializeControls() {
  122. this.CustomTaskPanes = Globals.Factory.CreateCustomTaskPaneCollection(null, null, "CustomTaskPanes", "CustomTaskPanes", this);
  123. }
  124. ///
  125. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  126. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  127. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  128. private void InitializeComponents() {
  129. }
  130. ///
  131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  132. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  133. private bool NeedsFill(string MemberName) {
  134. return this.DataHost.NeedsFill(this, MemberName);
  135. }
  136. ///
  137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  138. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  139. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  140. protected override void OnShutdown() {
  141. this.CustomTaskPanes.Dispose();
  142. base.OnShutdown();
  143. }
  144. }
  145. ///
  146. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  147. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  148. internal sealed partial class Globals {
  149. ///
  150. private Globals() {
  151. }
  152. private static ThisAddIn _ThisAddIn;
  153. private static global::Microsoft.Office.Tools.Factory _factory;
  154. private static ThisRibbonCollection _ThisRibbonCollection;
  155. internal static ThisAddIn ThisAddIn {
  156. get {
  157. return _ThisAddIn;
  158. }
  159. set {
  160. if ((_ThisAddIn == null)) {
  161. _ThisAddIn = value;
  162. }
  163. else {
  164. throw new System.NotSupportedException();
  165. }
  166. }
  167. }
  168. internal static global::Microsoft.Office.Tools.Factory Factory {
  169. get {
  170. return _factory;
  171. }
  172. set {
  173. if ((_factory == null)) {
  174. _factory = value;
  175. }
  176. else {
  177. throw new System.NotSupportedException();
  178. }
  179. }
  180. }
  181. internal static ThisRibbonCollection Ribbons {
  182. get {
  183. if ((_ThisRibbonCollection == null)) {
  184. _ThisRibbonCollection = new ThisRibbonCollection(_factory.GetRibbonFactory());
  185. }
  186. return _ThisRibbonCollection;
  187. }
  188. }
  189. }
  190. ///
  191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  192. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "17.0.0.0")]
  193. internal sealed partial class ThisRibbonCollection : Microsoft.Office.Tools.Ribbon.RibbonCollectionBase {
  194. ///
  195. internal ThisRibbonCollection(global::Microsoft.Office.Tools.Ribbon.RibbonFactory factory) :
  196. base(factory) {
  197. }
  198. }
  199. }