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
|
|
11
|
#pragma warning disable 414
|
12
|
namespace ID2ManagerImport {
|
13
|
|
14
|
|
15
|
///
|
16
|
[Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(0)]
|
17
|
[global::System.Security.Permissions.PermissionSetAttribute(global::System.Security.Permissions.SecurityAction.Demand, Name="FullTrust")]
|
18
|
public sealed partial class ThisAddIn : Microsoft.Office.Tools.AddInBase {
|
19
|
|
20
|
internal Microsoft.Office.Tools.CustomTaskPaneCollection CustomTaskPanes;
|
21
|
|
22
|
internal Microsoft.Office.Tools.SmartTagCollection VstoSmartTags;
|
23
|
|
24
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
25
|
private global::System.Object missing = global::System.Type.Missing;
|
26
|
|
27
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
28
|
internal Microsoft.Office.Interop.Excel.Application Application;
|
29
|
|
30
|
///
|
31
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
32
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
33
|
public ThisAddIn(global::Microsoft.Office.Tools.Excel.ApplicationFactory factory, global::System.IServiceProvider serviceProvider) :
|
34
|
base(factory, serviceProvider, "AddIn", "ThisAddIn") {
|
35
|
Globals.Factory = factory;
|
36
|
}
|
37
|
|
38
|
///
|
39
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
40
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
41
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
42
|
protected override void Initialize() {
|
43
|
base.Initialize();
|
44
|
this.Application = this.GetHostItem<Microsoft.Office.Interop.Excel.Application>(typeof(Microsoft.Office.Interop.Excel.Application), "Application");
|
45
|
Globals.ThisAddIn = this;
|
46
|
global::System.Windows.Forms.Application.EnableVisualStyles();
|
47
|
this.InitializeCachedData();
|
48
|
this.InitializeControls();
|
49
|
this.InitializeComponents();
|
50
|
this.InitializeData();
|
51
|
}
|
52
|
|
53
|
///
|
54
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
55
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
56
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
57
|
protected override void FinishInitialization() {
|
58
|
this.InternalStartup();
|
59
|
this.OnStartup();
|
60
|
}
|
61
|
|
62
|
///
|
63
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
64
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
65
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
66
|
protected override void InitializeDataBindings() {
|
67
|
this.BeginInitialization();
|
68
|
this.BindToData();
|
69
|
this.EndInitialization();
|
70
|
}
|
71
|
|
72
|
///
|
73
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
74
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
75
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
76
|
private void InitializeCachedData() {
|
77
|
if ((this.DataHost == null)) {
|
78
|
return;
|
79
|
}
|
80
|
if (this.DataHost.IsCacheInitialized) {
|
81
|
this.DataHost.FillCachedData(this);
|
82
|
}
|
83
|
}
|
84
|
|
85
|
///
|
86
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
87
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
88
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
89
|
private void InitializeData() {
|
90
|
}
|
91
|
|
92
|
///
|
93
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
94
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
95
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
96
|
private void BindToData() {
|
97
|
}
|
98
|
|
99
|
///
|
100
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
101
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
102
|
private void StartCaching(string MemberName) {
|
103
|
this.DataHost.StartCaching(this, MemberName);
|
104
|
}
|
105
|
|
106
|
///
|
107
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
108
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
109
|
private void StopCaching(string MemberName) {
|
110
|
this.DataHost.StopCaching(this, MemberName);
|
111
|
}
|
112
|
|
113
|
///
|
114
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
115
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
116
|
private bool IsCached(string MemberName) {
|
117
|
return this.DataHost.IsCached(this, MemberName);
|
118
|
}
|
119
|
|
120
|
///
|
121
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
122
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
123
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
124
|
private void BeginInitialization() {
|
125
|
this.BeginInit();
|
126
|
this.CustomTaskPanes.BeginInit();
|
127
|
this.VstoSmartTags.BeginInit();
|
128
|
}
|
129
|
|
130
|
///
|
131
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
132
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
133
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
134
|
private void EndInitialization() {
|
135
|
this.VstoSmartTags.EndInit();
|
136
|
this.CustomTaskPanes.EndInit();
|
137
|
this.EndInit();
|
138
|
}
|
139
|
|
140
|
///
|
141
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
142
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
143
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
144
|
private void InitializeControls() {
|
145
|
this.CustomTaskPanes = Globals.Factory.CreateCustomTaskPaneCollection(null, null, "CustomTaskPanes", "CustomTaskPanes", this);
|
146
|
this.VstoSmartTags = Globals.Factory.CreateSmartTagCollection(null, null, "VstoSmartTags", "VstoSmartTags", this);
|
147
|
}
|
148
|
|
149
|
///
|
150
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
151
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
152
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
153
|
private void InitializeComponents() {
|
154
|
}
|
155
|
|
156
|
///
|
157
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
158
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
159
|
private bool NeedsFill(string MemberName) {
|
160
|
return this.DataHost.NeedsFill(this, MemberName);
|
161
|
}
|
162
|
|
163
|
///
|
164
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
165
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
166
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
|
167
|
protected override void OnShutdown() {
|
168
|
this.VstoSmartTags.Dispose();
|
169
|
this.CustomTaskPanes.Dispose();
|
170
|
base.OnShutdown();
|
171
|
}
|
172
|
}
|
173
|
|
174
|
///
|
175
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
176
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
177
|
internal sealed partial class Globals {
|
178
|
|
179
|
///
|
180
|
private Globals() {
|
181
|
}
|
182
|
|
183
|
private static ThisAddIn _ThisAddIn;
|
184
|
|
185
|
private static global::Microsoft.Office.Tools.Excel.ApplicationFactory _factory;
|
186
|
|
187
|
private static ThisRibbonCollection _ThisRibbonCollection;
|
188
|
|
189
|
internal static ThisAddIn ThisAddIn {
|
190
|
get {
|
191
|
return _ThisAddIn;
|
192
|
}
|
193
|
set {
|
194
|
if ((_ThisAddIn == null)) {
|
195
|
_ThisAddIn = value;
|
196
|
}
|
197
|
else {
|
198
|
throw new System.NotSupportedException();
|
199
|
}
|
200
|
}
|
201
|
}
|
202
|
|
203
|
internal static global::Microsoft.Office.Tools.Excel.ApplicationFactory Factory {
|
204
|
get {
|
205
|
return _factory;
|
206
|
}
|
207
|
set {
|
208
|
if ((_factory == null)) {
|
209
|
_factory = value;
|
210
|
}
|
211
|
else {
|
212
|
throw new System.NotSupportedException();
|
213
|
}
|
214
|
}
|
215
|
}
|
216
|
|
217
|
internal static ThisRibbonCollection Ribbons {
|
218
|
get {
|
219
|
if ((_ThisRibbonCollection == null)) {
|
220
|
_ThisRibbonCollection = new ThisRibbonCollection(_factory.GetRibbonFactory());
|
221
|
}
|
222
|
return _ThisRibbonCollection;
|
223
|
}
|
224
|
}
|
225
|
}
|
226
|
|
227
|
///
|
228
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
229
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "16.0.0.0")]
|
230
|
internal sealed partial class ThisRibbonCollection : Microsoft.Office.Tools.Ribbon.RibbonCollectionBase {
|
231
|
|
232
|
///
|
233
|
internal ThisRibbonCollection(global::Microsoft.Office.Tools.Ribbon.RibbonFactory factory) :
|
234
|
base(factory) {
|
235
|
}
|
236
|
}
|
237
|
}
|