ThisAddIn.Designer.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:2.0.50727.5448
  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 HelpfulHighlighter {
  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.AddIn, Microsoft.VisualStudio.Tools.Office.IOfficeEntryPoint {
  16. internal Microsoft.Office.Tools.CustomTaskPaneCollection CustomTaskPanes;
  17. internal Microsoft.Office.Tools.SmartTagCollection VstoSmartTags;
  18. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  19. private global::System.Object missing = global::System.Type.Missing;
  20. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  21. internal Microsoft.Office.Interop.Excel.Application Application;
  22. ///
  23. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  24. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  25. public ThisAddIn() :
  26. base("AddIn", "ThisAddIn") {
  27. }
  28. ///
  29. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  30. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.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.Excel.Application>(typeof(Microsoft.Office.Interop.Excel.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", "9.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", "9.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", "9.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", "9.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", "9.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.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  86. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  87. private void StartCaching(string MemberName) {
  88. this.DataHost.StartCaching(this, MemberName);
  89. }
  90. ///
  91. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  92. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  93. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  94. private void StopCaching(string MemberName) {
  95. this.DataHost.StopCaching(this, MemberName);
  96. }
  97. ///
  98. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  99. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  100. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  101. private bool IsCached(string MemberName) {
  102. return this.DataHost.IsCached(this, MemberName);
  103. }
  104. ///
  105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  106. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  107. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  108. private void BeginInitialization() {
  109. this.BeginInit();
  110. this.CustomTaskPanes.BeginInit();
  111. this.VstoSmartTags.BeginInit();
  112. }
  113. ///
  114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  115. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  116. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  117. private void EndInitialization() {
  118. this.VstoSmartTags.EndInit();
  119. this.CustomTaskPanes.EndInit();
  120. this.EndInit();
  121. }
  122. ///
  123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  125. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  126. private void InitializeControls() {
  127. this.CustomTaskPanes = new Microsoft.Office.Tools.CustomTaskPaneCollection(this.ItemProvider, this.HostContext, "CustomTaskPanes", this, "CustomTaskPanes");
  128. this.VstoSmartTags = new Microsoft.Office.Tools.SmartTagCollection(this.ItemProvider, this.HostContext, "VstoSmartTags", this, "VstoSmartTags");
  129. }
  130. ///
  131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  132. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  133. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  134. private void InitializeComponents() {
  135. }
  136. ///
  137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  138. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  139. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
  140. private bool NeedsFill(string MemberName) {
  141. return this.DataHost.NeedsFill(this, MemberName);
  142. }
  143. ///
  144. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  145. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  146. [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
  147. protected override void OnShutdown() {
  148. this.VstoSmartTags.Dispose();
  149. this.CustomTaskPanes.Dispose();
  150. base.OnShutdown();
  151. }
  152. }
  153. ///
  154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  156. internal sealed partial class Globals {
  157. ///
  158. private Globals()
  159. {
  160. }
  161. private static ThisAddIn _ThisAddIn;
  162. private static ThisRibbonCollection _ThisRibbonCollection;
  163. internal static ThisAddIn ThisAddIn {
  164. get {
  165. return _ThisAddIn;
  166. }
  167. set {
  168. if ((_ThisAddIn == null)) {
  169. _ThisAddIn = value;
  170. }
  171. else {
  172. throw new System.NotSupportedException();
  173. }
  174. }
  175. }
  176. internal static ThisRibbonCollection Ribbons {
  177. get {
  178. if ((_ThisRibbonCollection == null)) {
  179. _ThisRibbonCollection = new ThisRibbonCollection();
  180. }
  181. return _ThisRibbonCollection;
  182. }
  183. }
  184. }
  185. ///
  186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  187. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0")]
  188. internal sealed partial class ThisRibbonCollection : Microsoft.Office.Tools.Ribbon.RibbonReadOnlyCollection {
  189. }
  190. }