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