PageRenderTime 29ms CodeModel.GetById 13ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 0ms

/Visual Studio 2008/VBVstoExcelWorkbook/Sheet1.Designer.vb

#
Visual Basic | 222 lines | 155 code | 28 blank | 39 comment | 0 complexity | 19632a2572db36d64fd5d68952a0371a MD5 | raw file
  1'------------------------------------------------------------------------------
  2' <auto-generated>
  3'     This code was generated by a tool.
  4'     Runtime Version:2.0.50727.4927
  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
 11Option Strict Off
 12Option Explicit On
 13
 14
 15
 16'''
 17<Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(1), _
 18 Global.System.Security.Permissions.PermissionSetAttribute(Global.System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _
 19Partial Public NotInheritable Class Sheet1
 20    Inherits Microsoft.Office.Tools.Excel.Worksheet
 21
 22    Friend WithEvents lstCourseList As Microsoft.Office.Tools.Excel.ListObject
 23
 24    Friend WithEvents courseListBindingSource As System.Windows.Forms.BindingSource
 25
 26    Private components As System.ComponentModel.IContainer
 27
 28    Friend WithEvents SchoolDataSet As VBVstoExcelWorkbook.SchoolDataSet
 29
 30    Friend WithEvents CourseListTableAdapter As VBVstoExcelWorkbook.SchoolDataSetTableAdapters.CourseListTableAdapter
 31
 32    '''
 33    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
 34     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
 35    Public Sub New()
 36        MyBase.New("Sheet1", "Sheet1")
 37    End Sub
 38
 39    '''
 40    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
 41     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
 42     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
 43    Protected Overrides Sub Initialize()
 44        MyBase.Initialize()
 45        Globals.Sheet1 = Me
 46        Global.System.Windows.Forms.Application.EnableVisualStyles()
 47        Me.InitializeCachedData()
 48        Me.InitializeControls()
 49        Me.InitializeComponents()
 50        Me.InitializeData()
 51    End Sub
 52
 53    '''
 54    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
 55     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
 56     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
 57    Protected Overrides Sub FinishInitialization()
 58        Me.OnStartup()
 59    End Sub
 60
 61    '''
 62    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
 63     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
 64     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
 65    Protected Overrides Sub InitializeDataBindings()
 66        Me.BeginInitialization()
 67        Me.BindToData()
 68        Me.EndInitialization()
 69    End Sub
 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 Sub InitializeCachedData()
 76        If (Me.DataHost Is Nothing) Then
 77            Return
 78        End If
 79        If Me.DataHost.IsCacheInitialized Then
 80            Me.DataHost.FillCachedData(Me)
 81        End If
 82    End Sub
 83
 84    '''
 85    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
 86     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
 87     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
 88    Private Sub InitializeData()
 89    End Sub
 90
 91    '''
 92    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
 93     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
 94     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
 95    Private Sub BindToData()
 96        Me.lstCourseList.SetDataBinding(Me.courseListBindingSource, "", "Title", "Credits", "DepartmentName", "Instructor")
 97    End Sub
 98
 99    '''
100    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
101     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
102     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
103    Private Sub StartCaching(ByVal MemberName As String)
104        Me.DataHost.StartCaching(Me, MemberName)
105    End Sub
106
107    '''
108    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
109     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
110     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
111    Private Sub StopCaching(ByVal MemberName As String)
112        Me.DataHost.StopCaching(Me, MemberName)
113    End Sub
114
115    '''
116    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
117     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
118     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
119    Private Function IsCached(ByVal MemberName As String) As Boolean
120        Return Me.DataHost.IsCached(Me, MemberName)
121    End Function
122
123    '''
124    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
125     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
126     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
127    Private Sub BeginInitialization()
128        Me.BeginInit()
129        Me.lstCourseList.BeginInit()
130    End Sub
131
132    '''
133    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
134     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
135     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
136    Private Sub EndInitialization()
137        Me.lstCourseList.EndInit()
138        Me.EndInit()
139    End Sub
140
141    '''
142    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
143     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
144     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
145    Private Sub InitializeControls()
146        Me.lstCourseList = New Microsoft.Office.Tools.Excel.ListObject(Me.ItemProvider, Me.HostContext, "Sheet1:lstCourseList", Me, "lstCourseList")
147    End Sub
148
149    '''
150    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
151     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
152     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
153    Private Sub InitializeComponents()
154        Me.components = New System.ComponentModel.Container
155        Me.courseListBindingSource = New System.Windows.Forms.BindingSource(Me.components)
156        If (Me.SchoolDataSet Is Nothing) Then
157            'Instantiate the object if not yet loaded from the data cache.
158            Me.SchoolDataSet = New VBVstoExcelWorkbook.SchoolDataSet
159        End If
160        Me.CourseListTableAdapter = New VBVstoExcelWorkbook.SchoolDataSetTableAdapters.CourseListTableAdapter
161        CType(Me.lstCourseList, System.ComponentModel.ISupportInitialize).BeginInit()
162        CType(Me.courseListBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
163        CType(Me.SchoolDataSet, System.ComponentModel.ISupportInitialize).BeginInit()
164        CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
165        '
166        'courseListBindingSource
167        '
168        Me.courseListBindingSource.DataMember = "CourseList"
169        Me.courseListBindingSource.DataSource = Me.SchoolDataSet
170        '
171        'SchoolDataSet
172        '
173        Me.SchoolDataSet.DataSetName = "SchoolDataSet"
174        Me.SchoolDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
175        '
176        'CourseListTableAdapter
177        '
178        Me.CourseListTableAdapter.ClearBeforeFill = True
179        '
180        'Sheet1
181        '
182        CType(Me.lstCourseList, System.ComponentModel.ISupportInitialize).EndInit()
183        CType(Me.courseListBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
184        CType(Me.SchoolDataSet, System.ComponentModel.ISupportInitialize).EndInit()
185        CType(Me, System.ComponentModel.ISupportInitialize).EndInit()
186    End Sub
187
188    '''
189    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
190     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
191     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
192    Private Function NeedsFill(ByVal MemberName As String) As Boolean
193        Return Me.DataHost.NeedsFill(Me, MemberName)
194    End Function
195
196    '''
197    <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
198     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
199     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
200    Protected Overrides Sub OnShutdown()
201        Me.lstCourseList.Dispose()
202        MyBase.OnShutdown()
203    End Sub
204End Class
205
206Partial Friend NotInheritable Class Globals
207
208    Private Shared _Sheet1 As Sheet1
209
210    Friend Shared Property Sheet1() As Sheet1
211        Get
212            Return _Sheet1
213        End Get
214        Set(ByVal value As Sheet1)
215            If (_Sheet1 Is Nothing) Then
216                _Sheet1 = value
217            Else
218                Throw New System.NotSupportedException
219            End If
220        End Set
221    End Property
222End Class