/Visual Studio 2008/VBVstoExcelWorkbook/Sheet1.Designer.vb
Visual Basic | 222 lines | 155 code | 28 blank | 39 comment | 0 complexity | 19632a2572db36d64fd5d68952a0371a MD5 | raw file
- '------------------------------------------------------------------------------
- ' <auto-generated>
- ' This code was generated by a tool.
- ' Runtime Version:2.0.50727.4927
- '
- ' Changes to this file may cause incorrect behavior and will be lost if
- ' the code is regenerated.
- ' </auto-generated>
- '------------------------------------------------------------------------------
-
- Option Strict Off
- Option Explicit On
-
-
-
- '''
- <Microsoft.VisualStudio.Tools.Applications.Runtime.StartupObjectAttribute(1), _
- Global.System.Security.Permissions.PermissionSetAttribute(Global.System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _
- Partial Public NotInheritable Class Sheet1
- Inherits Microsoft.Office.Tools.Excel.Worksheet
-
- Friend WithEvents lstCourseList As Microsoft.Office.Tools.Excel.ListObject
-
- Friend WithEvents courseListBindingSource As System.Windows.Forms.BindingSource
-
- Private components As System.ComponentModel.IContainer
-
- Friend WithEvents SchoolDataSet As VBVstoExcelWorkbook.SchoolDataSet
-
- Friend WithEvents CourseListTableAdapter As VBVstoExcelWorkbook.SchoolDataSetTableAdapters.CourseListTableAdapter
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Public Sub New()
- MyBase.New("Sheet1", "Sheet1")
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub Initialize()
- MyBase.Initialize()
- Globals.Sheet1 = Me
- Global.System.Windows.Forms.Application.EnableVisualStyles()
- Me.InitializeCachedData()
- Me.InitializeControls()
- Me.InitializeComponents()
- Me.InitializeData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub FinishInitialization()
- Me.OnStartup()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub InitializeDataBindings()
- Me.BeginInitialization()
- Me.BindToData()
- Me.EndInitialization()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeCachedData()
- If (Me.DataHost Is Nothing) Then
- Return
- End If
- If Me.DataHost.IsCacheInitialized Then
- Me.DataHost.FillCachedData(Me)
- End If
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeData()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BindToData()
- Me.lstCourseList.SetDataBinding(Me.courseListBindingSource, "", "Title", "Credits", "DepartmentName", "Instructor")
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StartCaching(ByVal MemberName As String)
- Me.DataHost.StartCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Sub StopCaching(ByVal MemberName As String)
- Me.DataHost.StopCaching(Me, MemberName)
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function IsCached(ByVal MemberName As String) As Boolean
- Return Me.DataHost.IsCached(Me, MemberName)
- End Function
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub BeginInitialization()
- Me.BeginInit()
- Me.lstCourseList.BeginInit()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub EndInitialization()
- Me.lstCourseList.EndInit()
- Me.EndInit()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeControls()
- Me.lstCourseList = New Microsoft.Office.Tools.Excel.ListObject(Me.ItemProvider, Me.HostContext, "Sheet1:lstCourseList", Me, "lstCourseList")
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Private Sub InitializeComponents()
- Me.components = New System.ComponentModel.Container
- Me.courseListBindingSource = New System.Windows.Forms.BindingSource(Me.components)
- If (Me.SchoolDataSet Is Nothing) Then
- 'Instantiate the object if not yet loaded from the data cache.
- Me.SchoolDataSet = New VBVstoExcelWorkbook.SchoolDataSet
- End If
- Me.CourseListTableAdapter = New VBVstoExcelWorkbook.SchoolDataSetTableAdapters.CourseListTableAdapter
- CType(Me.lstCourseList, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.courseListBindingSource, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me.SchoolDataSet, System.ComponentModel.ISupportInitialize).BeginInit()
- CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
- '
- 'courseListBindingSource
- '
- Me.courseListBindingSource.DataMember = "CourseList"
- Me.courseListBindingSource.DataSource = Me.SchoolDataSet
- '
- 'SchoolDataSet
- '
- Me.SchoolDataSet.DataSetName = "SchoolDataSet"
- Me.SchoolDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema
- '
- 'CourseListTableAdapter
- '
- Me.CourseListTableAdapter.ClearBeforeFill = True
- '
- 'Sheet1
- '
- CType(Me.lstCourseList, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.courseListBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me.SchoolDataSet, System.ComponentModel.ISupportInitialize).EndInit()
- CType(Me, System.ComponentModel.ISupportInitialize).EndInit()
- End Sub
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
- Private Function NeedsFill(ByVal MemberName As String) As Boolean
- Return Me.DataHost.NeedsFill(Me, MemberName)
- End Function
-
- '''
- <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
- Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "9.0.0.0"), _
- Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Never)> _
- Protected Overrides Sub OnShutdown()
- Me.lstCourseList.Dispose()
- MyBase.OnShutdown()
- End Sub
- End Class
-
- Partial Friend NotInheritable Class Globals
-
- Private Shared _Sheet1 As Sheet1
-
- Friend Shared Property Sheet1() As Sheet1
- Get
- Return _Sheet1
- End Get
- Set(ByVal value As Sheet1)
- If (_Sheet1 Is Nothing) Then
- _Sheet1 = value
- Else
- Throw New System.NotSupportedException
- End If
- End Set
- End Property
- End Class